[PATCH] D130258: [AMDGPU] Remove IR SpeculativeExecution pass from codegen pipeline

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 05:34:01 PDT 2022


foad added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/select-opt.ll:144
 
 ; GCN-LABEL: {{^}}regression:
 ; GCN: v_cmp_neq_f32_e64 s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}}, 1.0
----------------
In this function SpeculativeExecution hoisted %cmp2 into %if0, which got in the way of CSE removing %cmp2 altogether. With this patch the resulting code is much simpler.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130258/new/

https://reviews.llvm.org/D130258



More information about the llvm-commits mailing list