[PATCH] Change order of tablegen generated fastisel instruction code to be based on instruction complexity

hfinkel at anl.gov hfinkel at anl.gov
Tue Nov 11 16:04:59 PST 2014


================
Comment at: /home/seurer/llvm/llvm-oneoff/utils/TableGen/FastISelEmitter.cpp:587
@@ +586,3 @@
+    }
+    SimplePatternsCheck[Operands][OpcodeName][VT][RetVT].insert(std::make_pair(PredicateCheck, true));
+    SimplePatterns[Operands][OpcodeName][VT][RetVT].insert(std::make_pair(complexity, Memo));
----------------
Make sure you're not adding lines > 80 cols.

http://reviews.llvm.org/D6220






More information about the llvm-commits mailing list