[PATCH] D10905: move DAGCombiner's allowableAlignment() helper function into the TLI

Mehdi AMINI mehdi.amini at apple.com
Mon Jul 13 12:42:40 PDT 2015


joker.eph added a subscriber: joker.eph.

================
Comment at: lib/CodeGen/TargetLoweringBase.cpp:1553
@@ +1552,3 @@
+  Type *Ty = VT.getTypeForEVT(Context);
+  const DataLayout *DL = getDataLayout();
+  
----------------
I'm removing the getDataLayout() from TargetLowering soon (D11079), you'll have to find another way of getting it (argument to the function?).



http://reviews.llvm.org/D10905







More information about the llvm-commits mailing list