[PATCH] D40231: InstructionSimplify: 'extractelement' with an undef index is undef

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 3 15:47:01 PST 2017


arsenm added inline comments.


================
Comment at: test/CodeGen/AMDGPU/indirect-addressing-si-noopt.ll:24
+; CHECK-LABEL: {{^}}extract_adjacent_blocks:
+define amdgpu_kernel void @extract_adjacent_blocks(i32 %arg) #0 {
+bb:
----------------
The checks were still dropped. Does -O0 prevent the inst simplify?

I really wish llc ran no IR optimizations, but we're stuck working around it


https://reviews.llvm.org/D40231





More information about the llvm-commits mailing list