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:
3a0a25f
)
[X86] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D81833
author
Fangrui Song
<i@maskray.me>
Fri, 14 Jul 2023 18:27:53 +0000
(11:27 -0700)
committer
Fangrui Song
<i@maskray.me>
Fri, 14 Jul 2023 18:27:53 +0000
(11:27 -0700)
llvm/lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelLowering.cpp
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index
91506be
..
bd7b396
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-30073,7
+30073,7
@@
SDValue X86TargetLowering::LowerSET_ROUNDING(SDValue Op,
const unsigned X87StateSize = 28;
const unsigned FPStateSize = 32;
-const unsigned FPStateSizeInBits = FPStateSize * 8;
+
[[maybe_unused]]
const unsigned FPStateSizeInBits = FPStateSize * 8;
SDValue X86TargetLowering::LowerGET_FPENV_MEM(SDValue Op,
SelectionDAG &DAG) const {