projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
788960d
)
Fix a -Wunused-variable warning in release build, NFC
author
Haojian Wu
<hokein.wu@gmail.com>
Tue, 6 Dec 2022 12:56:16 +0000
(13:56 +0100)
committer
Haojian Wu
<hokein.wu@gmail.com>
Tue, 6 Dec 2022 12:56:16 +0000
(13:56 +0100)
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index
3410271
..
9fcee1c
100644
(file)
--- a/
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@
-21763,8
+21763,7
@@
void AArch64TargetLowering::ReplaceNodeResults(
}
case ISD::READ_REGISTER: {
SDLoc DL(N);
- EVT VT = N->getValueType(0);
- assert(VT == MVT::i128 &&
+ assert(N->getValueType(0) == MVT::i128 &&
"READ_REGISTER custom lowering is only for 128-bit sysregs");
SDValue Chain = N->getOperand(0);
SDValue SysRegName = N->getOperand(1);