[PATCH] D74147: [AArch64] Add BIT/BIF support.

Pavel Iliin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 02:58:08 PST 2020


ilinpv marked an inline comment as done.
ilinpv added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp:464-469
+        BuildMI(MBB, MBBI, MI.getDebugLoc(),
+                TII->get(Opcode == AArch64::BSLPv8i8 ? AArch64::ORRv8i8
+                                                     : AArch64::ORRv16i8))
+            .addReg(DstReg)
+            .add(MI.getOperand(1))
+            .add(MI.getOperand(1));
----------------
dmgreen wrote:
> Do you know if there are any test cases that test this "extra move" path?
Yes, CodeGen/AArch64/arm64-promote-const.ll for example


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74147/new/

https://reviews.llvm.org/D74147





More information about the llvm-commits mailing list