[PATCH] Change the policy of ZERO_EXTEND/SIGN_EXTEND for SelectionDAG builder and legalization

Tim Northover t.p.northover at gmail.com
Wed Aug 20 03:01:44 PDT 2014


Hi Jiangning,

Thanks for updating again. I think this looks fine apart from one tiny formatting thing I spotted (sorry). Feel free to commit it with that change.

Tim.

================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:760-761
@@ -759,1 +759,4 @@
 
+static ISD::NodeType getPreferredExtendForValue(const Value *V)
+{
+  // For the users of the source value being used for compare instruction, if
----------------
Formatting.

http://reviews.llvm.org/D4967






More information about the llvm-commits mailing list