[PATCH] D58964: [AMDGPU] Allow MIMG with no uses in adjustWritemask in isel
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 08:11:35 PST 2019
arsenm added inline comments.
================
Comment at: test/CodeGen/AMDGPU/img-nouse-adjust.ll:14-15
+ %0 = tail call <4 x float> @llvm.amdgcn.image.load.2d.v4f32.i32(i32 15, i32 undef, i32 undef, <8 x i32> undef, i32 0, i32 0) #3
+ call void @llvm.trap()
+ unreachable
+}
----------------
The trap should be removed and the unreachable replaced with return
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58964/new/
https://reviews.llvm.org/D58964
More information about the llvm-commits
mailing list