Selection predicate for immediates changed to select SGPR instead of VGPR whenever it possible.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D51734
[AMDGPU] Preliminary patch for divergence driven instruction selection. Immediate selection predicate changed ClosedPublic Authored by alex-t on Sep 6 2018, 8:06 AM.
Details Summary Selection predicate for immediates changed to select SGPR instead of VGPR whenever it possible.
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 8 others. · View Herald TranscriptSep 6 2018, 8:06 AM This revision is now accepted and ready to land.Sep 6 2018, 12:00 PM Closed by commit rL341928: [AMDGPU] Preliminary patch for divergence driven instruction selection. (authored by alex-t). · Explain WhySep 11 2018, 4:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 164218 lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/SIInstrInfo.h
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstrInfo.td
test/CodeGen/AMDGPU/amdgpu.private-memory.ll
test/CodeGen/AMDGPU/clamp.ll
test/CodeGen/AMDGPU/commute-compares.ll
test/CodeGen/AMDGPU/commute_modifiers.ll
test/CodeGen/AMDGPU/control-flow-fastregalloc.ll
test/CodeGen/AMDGPU/ctlz_zero_undef.ll
test/CodeGen/AMDGPU/ctpop.ll
test/CodeGen/AMDGPU/ctpop16.ll
test/CodeGen/AMDGPU/dagcombine-setcc-select.ll
test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
test/CodeGen/AMDGPU/fdiv32-to-rcp-folding.ll
test/CodeGen/AMDGPU/fexp.ll
test/CodeGen/AMDGPU/fneg-combines.ll
test/CodeGen/AMDGPU/immv216.ll
test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.class.ll
test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.div.scale.ll
test/CodeGen/AMDGPU/llvm.amdgcn.fcmp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.ll
test/CodeGen/AMDGPU/llvm.amdgcn.fmed3.ll
test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
test/CodeGen/AMDGPU/llvm.amdgcn.lerp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.msad.u8.ll
test/CodeGen/AMDGPU/llvm.amdgcn.sad.hi.u8.ll
test/CodeGen/AMDGPU/llvm.amdgcn.sad.u16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.sad.u8.ll
test/CodeGen/AMDGPU/llvm.cos.f16.ll
test/CodeGen/AMDGPU/llvm.fma.f16.ll
test/CodeGen/AMDGPU/llvm.fmuladd.f16.ll
test/CodeGen/AMDGPU/llvm.log.f16.ll
test/CodeGen/AMDGPU/llvm.log.ll
test/CodeGen/AMDGPU/llvm.log10.f16.ll
test/CodeGen/AMDGPU/llvm.log10.ll
test/CodeGen/AMDGPU/llvm.sin.f16.ll
test/CodeGen/AMDGPU/mad-mix.ll
test/CodeGen/AMDGPU/madmk.ll
test/CodeGen/AMDGPU/sdiv.ll
test/CodeGen/AMDGPU/select.f16.ll
test/CodeGen/AMDGPU/setcc-opt.ll
test/CodeGen/AMDGPU/srem.ll
test/CodeGen/AMDGPU/subreg-coalescer-undef-use.ll
test/CodeGen/AMDGPU/udiv.ll
test/CodeGen/AMDGPU/urem.ll
test/CodeGen/AMDGPU/use-sgpr-multiple-times.ll
test/CodeGen/AMDGPU/valu-i1.ll
test/CodeGen/AMDGPU/wqm.ll
|