[PATCH] D20387: [AArch64] Generate a BFI/BFXIL from 'or (and X, MaskImm), OrImm' iff the value being inserted only sets known zero bits.
Chad Rosier via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 12:58:24 PDT 2016
mcrosier marked 3 inline comments as done.
================
Comment at: lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:2023
@@ +2022,3 @@
+ if (!isShiftedMask(KnownZero.getZExtValue(), VT))
+ return false;
+
----------------
I agree this may be conservative, but I'm going to defer this improvement for the moment.
http://reviews.llvm.org/D20387
More information about the llvm-commits
mailing list