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:
d796901
)
[RISCV] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds
author
Fangrui Song
<i@maskray.me>
Fri, 11 Feb 2022 04:10:12 +0000
(20:10 -0800)
committer
Fangrui Song
<i@maskray.me>
Fri, 11 Feb 2022 04:10:12 +0000
(20:10 -0800)
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
b/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
index
94956b4
..
6e7ae9e
100644
(file)
--- a/
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+++ b/
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
@@
-2248,6
+2248,7
@@
bool RISCVDAGToDAGISel::doPeepholeMaskedRVV(SDNode *N) {
RISCVII::hasDummyMaskOp(UnmaskedMCID.TSFlags) &&
!RISCVII::hasVecPolicyOp(UnmaskedMCID.TSFlags) &&
"Unexpected pseudo to transform to");
+ (void)UnmaskedMCID;
SmallVector<SDValue, 8> Ops;
// Skip the merge operand at index 0.