llvm-project/llvm/test/Analysis/CostModel/AMDGPU
Matt Arsenault e0c1f9e76d AMDGPU: Partially fix default device for HSA
There are a few different issues, mostly stemming from using
generation based checks for anything instead of subtarget
features. Stop adding flat-address-space as a feature for HSA, as it
should only be a device property. This was incorrectly allowing flat
instructions to select for SI.

Increase the default generation for HSA to avoid the encoding error
when emitting objects. This has some other side effects from various
checks which probably should be separate subtarget features (in the
cost model and for dealing with the DS offset folding issue).

Partial fix for bug 41070. It should probably be an error to try using
amdhsa without flat support.

llvm-svn: 356347
2019-03-17 21:31:35 +00:00
..
add-sub.ll [AMDGPU] Prepare for introduction of v3 and v5 MVTs 2019-03-17 21:04:16 +00:00
addrspacecast.ll
bit-ops.ll
br.ll
extractelement.ll [AMDGPU] Prepare for introduction of v3 and v5 MVTs 2019-03-17 21:04:16 +00:00
fabs.ll [AMDGPU] Prepare for introduction of v3 and v5 MVTs 2019-03-17 21:04:16 +00:00
fadd.ll [AMDGPU] Prepare for introduction of v3 and v5 MVTs 2019-03-17 21:04:16 +00:00
fdiv.ll AMDGPU: Partially fix default device for HSA 2019-03-17 21:31:35 +00:00
fmul.ll [AMDGPU] Prepare for introduction of v3 and v5 MVTs 2019-03-17 21:04:16 +00:00
fsub.ll [AMDGPU] Prepare for introduction of v3 and v5 MVTs 2019-03-17 21:04:16 +00:00
insertelement.ll
lit.local.cfg
mul.ll [AMDGPU] Prepare for introduction of v3 and v5 MVTs 2019-03-17 21:04:16 +00:00
shifts.ll
shufflevector.ll