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:
b16f82a
)
[AMDGPU] Fix -Wunused-variable after e5823bf806ca9fa6f87583065b3898a2edabce57
author
Fangrui Song
<i@maskray.me>
Tue, 21 Jan 2020 06:41:13 +0000
(22:41 -0800)
committer
Fangrui Song
<i@maskray.me>
Tue, 21 Jan 2020 06:41:13 +0000
(22:41 -0800)
llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
b/llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
index
a7c2e4e
..
cfa52ec
100644
(file)
--- a/
llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+++ b/
llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
@@
-654,7
+654,6
@@
Value* AMDGPUCodeGenPrepare::expandDivRem24(IRBuilder<> &Builder,
if (IsSigned)
++DivBits;
- Type *Ty = Num->getType();
Type *I32Ty = Builder.getInt32Ty();
Type *F32Ty = Builder.getFloatTy();
ConstantInt *One = Builder.getInt32(1);