[PATCH] [AArch64] Fix fast-isel of cbz of i1, i8, i16

Tim Northover t.p.northover at gmail.com
Thu Oct 23 09:46:26 PDT 2014


Hi Oliver,

This looks fine, just one very minor quibble.

================
Comment at: lib/Target/AArch64/AArch64FastISel.cpp:2184
@@ -2183,1 +2183,3 @@
 
+  if ((BW == 1 || BW == 8 || BW == 16) && !IsBitTest) {
+    EVT CmpEVT = TLI.getValueType(Ty, SrcIsKill);
----------------
BW < 32?

http://reviews.llvm.org/D5935






More information about the llvm-commits mailing list