Skip to content

Commit 8cc862c

Browse files
authored
[AMDGPU] expand-fp: always report modifications (#163153)
The last change to the pass in PR #158588 lost the assignment to the "Modified" variable for one of the pass optimizations. Add it back. This fixes the test failure in `CodeGen/AMDGPU/itofp.i128.bf.ll` (in a `LLVM_ENABLE_EXPENSIVE_CHECKS=ON` build).
1 parent bb3b020 commit 8cc862c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/ExpandFp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,7 @@ static bool runImpl(Function &F, const TargetLowering &TLI,
10361036
continue;
10371037

10381038
addToWorklist(I, Worklist);
1039+
Modified = true;
10391040
break;
10401041
}
10411042
default:

0 commit comments

Comments
 (0)