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