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:
22c17c6
)
Remove unused variable 's8' in X86LegalizerInfo.cpp (NFC)
author
Jie Fu
<jiefu@tencent.com>
Mon, 12 Jun 2023 11:24:56 +0000
(19:24 +0800)
committer
Jie Fu
<jiefu@tencent.com>
Mon, 12 Jun 2023 11:24:56 +0000
(19:24 +0800)
/data/llvm-project/llvm/lib/Target/X86/X86LegalizerInfo.cpp:443:13: error: unused variable 's8' [-Werror,-Wunused-variable]
const LLT s8 = LLT::scalar(8);
^
1 error generated.
llvm/lib/Target/X86/X86LegalizerInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86LegalizerInfo.cpp
b/llvm/lib/Target/X86/X86LegalizerInfo.cpp
index
9bc9c6f
..
70e7c78
100644
(file)
--- a/
llvm/lib/Target/X86/X86LegalizerInfo.cpp
+++ b/
llvm/lib/Target/X86/X86LegalizerInfo.cpp
@@
-440,7
+440,6
@@
void X86LegalizerInfo::setLegalizerInfo64bit() {
if (!Subtarget.is64Bit())
return;
- const LLT s8 = LLT::scalar(8);
const LLT s32 = LLT::scalar(32);
const LLT s64 = LLT::scalar(64);
const LLT s128 = LLT::scalar(128);