Skip to content

Commit ea9c0c5

Browse files
committed
Remove unused var (#2854)
Original commit: KhronosGroup/SPIRV-LLVM-Translator@23b14ed3d88418e
1 parent 1317266 commit ea9c0c5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm-spirv/lib/SPIRV/SPIRVWriter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3116,7 +3116,6 @@ bool LLVMToSPIRVBase::transDecoration(Value *V, SPIRVValue *BV) {
31163116
if (RetAttrs.hasAttribute(Attribute::NoFPClass)) {
31173117
FPClassTest RetTest =
31183118
RetAttrs.getAttribute(Attribute::NoFPClass).getNoFPClass();
3119-
AttributeSet RetAttrs = FAttrs.getRetAttrs();
31203119
// Only Nan and Inf tests are representable in SPIR-V now.
31213120
bool ToAddNoNan = RetTest & fcNan;
31223121
bool ToAddNoInf = RetTest & fcInf;

0 commit comments

Comments
 (0)