diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-02-20 20:26:41 -0500 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-03-09 12:36:51 -0700 |
commit | 209094eeb6c64cf515e24844f7420f93083e5dd4 (patch) | |
tree | df245d9c4a9200d7bab724274eb1185563189ab6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e4dfc9f5bda3171e159f2ff62390c8795d9497e7 (diff) | |
download | llvm-209094eeb6c64cf515e24844f7420f93083e5dd4.zip llvm-209094eeb6c64cf515e24844f7420f93083e5dd4.tar.gz llvm-209094eeb6c64cf515e24844f7420f93083e5dd4.tar.bz2 |
AMDGPU/GlobalISel: Start matching s_lshlN_add_u32 instructions
Use a hack to only enable this for GlobalISel.
Technically this also works with SelectionDAG, but the divergence
selection isn't reliable enough and a few cases fail, but I have no
desire to spend time writing the manual expansion code for it. The DAG
actually does a better job since it catches using v_add_lshl_u32 in
the mixed SGPR/VGPR cases.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions