[PATCH] D87654: [AArch64][GlobalISel] Partially port tryShiftAmountMod from AArch64ISelDAGToDAG

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 13:58:01 PDT 2020


aemerson added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:1702
+           m_any_of(m_GZExt(m_Reg(ShiftAmt)), m_GAnyExt(m_Reg(ShiftAmt)),
+                    m_GTrunc(m_Reg(ShiftAmt))));
+
----------------
Use `getConstantVRegValWithLookthrough`?


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

https://reviews.llvm.org/D87654



More information about the llvm-commits mailing list