[AMDGPU] Fix some tests that did not specify -mcpu
authorTim Renouf <tim.renouf@amd.com>
Thu, 13 Feb 2020 11:44:52 +0000 (11:44 +0000)
committerTim Renouf <tim.renouf@amd.com>
Mon, 17 Feb 2020 14:02:32 +0000 (14:02 +0000)
commit1e926a9f9c519bfeb46ca8265cfe1bd5681ce7ef
tree85d5811f6f6a30f6b091d79a9ae5f790766869ab
parent6704960f7c282714d5963aad8f7b379fa13289ea
[AMDGPU] Fix some tests that did not specify -mcpu

Summary:
This fixes some tests that did not specify -mcpu. Doing that disables
all subtarget features, which gives behavior that (a) does not
necessarily correspond to any actual target, and (b) can change as we
add new subtarget features.

Also added gfx1010 to memtime test.

Differential Revision: https://reviews.llvm.org/D74594

Change-Id: I8c0fe4fa03e9a93ef8bb722cd42d22e064526309
14 files changed:
llvm/test/CodeGen/AMDGPU/clamp-modifier.ll
llvm/test/CodeGen/AMDGPU/divrem24-assume.ll
llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
llvm/test/CodeGen/AMDGPU/frem.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.memtime.ll
llvm/test/CodeGen/AMDGPU/madmk.ll
llvm/test/CodeGen/AMDGPU/omod.ll
llvm/test/CodeGen/AMDGPU/operand-folding.ll
llvm/test/CodeGen/AMDGPU/sdiv.ll
llvm/test/CodeGen/AMDGPU/sdiv64.ll
llvm/test/CodeGen/AMDGPU/srem64.ll
llvm/test/CodeGen/AMDGPU/udiv64.ll
llvm/test/CodeGen/AMDGPU/urem64.ll
llvm/test/CodeGen/AMDGPU/v_mac.ll