[llvm] 0f61612 - [AArch64][ISel] Remove unused variable 'TRI' (NFC)
Jie Fu via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 06:47:06 PDT 2023
Author: Jie Fu
Date: 2023-08-31T21:46:58+08:00
New Revision: 0f61612566dd48cee859fcd94fb6742955bce428
URL: https://github.com/llvm/llvm-project/commit/0f61612566dd48cee859fcd94fb6742955bce428
DIFF: https://github.com/llvm/llvm-project/commit/0f61612566dd48cee859fcd94fb6742955bce428.diff
LOG: [AArch64][ISel] Remove unused variable 'TRI' (NFC)
/Users/jiefu/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:6629:32: error: unused variable 'TRI' [-Werror,-Wunused-variable]
const AArch64RegisterInfo *TRI = Subtarget->getRegisterInfo();
^
1 error generated.
Added:
Modified:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 9217694f26601f..db16d92336fe45 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -6626,7 +6626,6 @@ SDValue AArch64TargetLowering::LowerFormalArguments(
// Insert the SMSTART if this is a locally streaming function and
// make sure it is Glued to the last CopyFromReg value.
if (IsLocallyStreaming) {
- const AArch64RegisterInfo *TRI = Subtarget->getRegisterInfo();
Chain =
changeStreamingMode(DAG, DL, /*Enable*/ true, DAG.getRoot(), Glue,
DAG.getConstant(0, DL, MVT::i64), /*Entry*/ true);
More information about the llvm-commits
mailing list