[llvm] [AArch64] merge index address with large offset into base address (PR #72187)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 22:21:05 PST 2023


================
@@ -1069,6 +1069,42 @@ bool AArch64DAGToDAGISel::SelectAddrModeIndexedBitWidth(SDValue N, bool IsSigned
   return true;
 }
 
+// 16-bit optionally shifted immediates are legal for single mov.
+static bool isLegalSingleMOVImmediate(int64_t Immed) {
----------------
vfdff wrote:

Apply your comment, thanks

https://github.com/llvm/llvm-project/pull/72187


More information about the llvm-commits mailing list