[PATCH] [AArch64] Fix a bug generating incorrect instruction when building small vector.

Chad Rosier mcrosier at codeaurora.org
Fri Jul 4 08:13:01 PDT 2014


Tim should probably give the final LGTM, but I don't see any glaring issues.  I'll kick of regression tests and let you know how it goes.

================
Comment at: lib/Target/AArch64/AArch64ISelLowering.cpp:4160
@@ -4160,1 +4159,3 @@
   int OffsetMultipliers[2] = { 1, 1 };
+  int ResMultipliers = 1;
+  // Find out the smallest element size among result and two sources, and use
----------------
Perhaps, just ResMultiplier.

http://reviews.llvm.org/D4385






More information about the llvm-commits mailing list