[PATCH] D14584: [CodeGenPrepare] Create more extloads and fewer ands

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 17:03:28 PST 2015


qcolombet added inline comments.

================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:4197
@@ +4196,3 @@
+// b1:
+//   y = and x', 0xff
+//
----------------
why would you duplicate the 'and' instead of just moving it?
Moreover, would it make sense to emit a narrower load instead followed by a zext?


http://reviews.llvm.org/D14584





More information about the llvm-commits mailing list