mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 22:26:16 +00:00
Add fake use to suppress defined-but-unused warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e663cf69c
commit
ea1cccd0b6
@ -3304,6 +3304,7 @@ bool AArch64FastISel::fastLowerIntrinsicCall(const IntrinsicInst *II) {
|
||||
ResultReg2 = fastEmitInst_rri(AArch64::CSINCWr, &AArch64::GPR32RegClass,
|
||||
AArch64::WZR, /*IsKill=*/true, AArch64::WZR,
|
||||
/*IsKill=*/true, getInvertedCondCode(CC));
|
||||
(void)ResultReg2;
|
||||
assert((ResultReg1 + 1) == ResultReg2 &&
|
||||
"Nonconsecutive result registers.");
|
||||
updateValueMap(II, ResultReg1, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user