Enabled tree-based instruction selection