AMDGPU: Fix insertion point when reducing load intrinsics
The insertion point may be later than the next instruction, so it is necessary to set it when replacing the call. llvm-svn: 297439
Showing
- llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 3 additions, 0 deletions...ib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
- llvm/test/Transforms/InstCombine/amdgcn-demanded-vector-elts.ll 38 additions, 0 deletions...est/Transforms/InstCombine/amdgcn-demanded-vector-elts.ll
Loading
Please register or sign in to comment