[PATCH] [X86][FastIsel] Teach how to select vector load instructions.

Quentin Colombet qcolombet at apple.com
Wed Mar 25 09:59:02 PDT 2015


================
Comment at: lib/Target/X86/X86FastISel.cpp:1099
@@ +1098,3 @@
+  if (Alignment == 0) // Ensure that codegen never sees alignment 0
+    Alignment = ABIAlignment;
+  bool Aligned = Alignment >= ABIAlignment;
----------------
By default, don’t we assume stuff are unaligned, i.e., Alignment = 1?

http://reviews.llvm.org/D8605

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list