Skip to content

Commit 23b14ed

Browse files
authored
Remove unused var (#2854)
1 parent 1a1bf17 commit 23b14ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SPIRV/SPIRVWriter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3121,7 +3121,6 @@ bool LLVMToSPIRVBase::transDecoration(Value *V, SPIRVValue *BV) {
31213121
if (RetAttrs.hasAttribute(Attribute::NoFPClass)) {
31223122
FPClassTest RetTest =
31233123
RetAttrs.getAttribute(Attribute::NoFPClass).getNoFPClass();
3124-
AttributeSet RetAttrs = FAttrs.getRetAttrs();
31253124
// Only Nan and Inf tests are representable in SPIR-V now.
31263125
bool ToAddNoNan = RetTest & fcNan;
31273126
bool ToAddNoInf = RetTest & fcInf;

0 commit comments

Comments
 (0)