]> granicus.if.org Git - llvm/commit
Merging r292982:
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 27 Jan 2017 19:26:48 +0000 (19:26 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 27 Jan 2017 19:26:48 +0000 (19:26 +0000)
commite53639621847ef167c60cf603edf8f320330d5f5
tree46fc512e4502dcc983855c7f783f67234f7c3d43
parentcb3fa250a41a3c8b2812766cc64a7b0bedcf68f2
Merging r292982:
------------------------------------------------------------------------
r292982 | arsenm | 2017-01-24 14:02:15 -0800 (Tue, 24 Jan 2017) | 8 lines

Enable FeatureFlatForGlobal on Volcanic Islands

This switches to the workaround that HSA defaults to
for the mesa path.

This should be applied to the 4.0 branch.

Patch by Vedran Miletić <vedran@miletic.net>
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@293326 91177308-0d34-0410-b5e6-96231b3b80d8
273 files changed:
lib/Target/AMDGPU/AMDGPU.td
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
test/CodeGen/AMDGPU/32-bit-local-address-space.ll
test/CodeGen/AMDGPU/add.i16.ll
test/CodeGen/AMDGPU/add.ll
test/CodeGen/AMDGPU/amdgcn.private-memory.ll
test/CodeGen/AMDGPU/amdgpu.work-item-intrinsics.deprecated.ll
test/CodeGen/AMDGPU/and.ll
test/CodeGen/AMDGPU/anyext.ll
test/CodeGen/AMDGPU/atomic_cmp_swap_local.ll
test/CodeGen/AMDGPU/atomic_load_add.ll
test/CodeGen/AMDGPU/atomic_load_sub.ll
test/CodeGen/AMDGPU/basic-branch.ll
test/CodeGen/AMDGPU/bfi_int.ll
test/CodeGen/AMDGPU/bfm.ll
test/CodeGen/AMDGPU/bitcast-vector-extract.ll
test/CodeGen/AMDGPU/bitreverse.ll
test/CodeGen/AMDGPU/br_cc.f16.ll
test/CodeGen/AMDGPU/branch-condition-and.ll
test/CodeGen/AMDGPU/bswap.ll
test/CodeGen/AMDGPU/bug-vopc-commute.ll
test/CodeGen/AMDGPU/build_vector.ll
test/CodeGen/AMDGPU/cgp-addressing-modes-flat.ll
test/CodeGen/AMDGPU/cgp-addressing-modes.ll
test/CodeGen/AMDGPU/cgp-bitfield-extract.ll
test/CodeGen/AMDGPU/concat_vectors.ll
test/CodeGen/AMDGPU/constant-fold-mi-operands.ll
test/CodeGen/AMDGPU/copy-illegal-type.ll
test/CodeGen/AMDGPU/copy-to-reg.ll
test/CodeGen/AMDGPU/ctlz.ll
test/CodeGen/AMDGPU/ctlz_zero_undef.ll
test/CodeGen/AMDGPU/ctpop.ll
test/CodeGen/AMDGPU/ctpop64.ll
test/CodeGen/AMDGPU/cttz_zero_undef.ll
test/CodeGen/AMDGPU/cube.ll
test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
test/CodeGen/AMDGPU/cvt_rpi_i32_f32.ll
test/CodeGen/AMDGPU/elf.ll
test/CodeGen/AMDGPU/extload.ll
test/CodeGen/AMDGPU/extract_vector_elt-f64.ll
test/CodeGen/AMDGPU/extract_vector_elt-i16.ll
test/CodeGen/AMDGPU/extract_vector_elt-i64.ll
test/CodeGen/AMDGPU/extract_vector_elt-i8.ll
test/CodeGen/AMDGPU/fabs.ll
test/CodeGen/AMDGPU/fadd.f16.ll
test/CodeGen/AMDGPU/fadd.ll
test/CodeGen/AMDGPU/fadd64.ll
test/CodeGen/AMDGPU/fceil.ll
test/CodeGen/AMDGPU/fcmp.f16.ll
test/CodeGen/AMDGPU/fcmp64.ll
test/CodeGen/AMDGPU/fcopysign.f32.ll
test/CodeGen/AMDGPU/fcopysign.f64.ll
test/CodeGen/AMDGPU/fdiv.f16.ll
test/CodeGen/AMDGPU/fdiv.f64.ll
test/CodeGen/AMDGPU/fdiv.ll
test/CodeGen/AMDGPU/ffloor.f64.ll
test/CodeGen/AMDGPU/ffloor.ll
test/CodeGen/AMDGPU/flat-address-space.ll
test/CodeGen/AMDGPU/flat-scratch-reg.ll
test/CodeGen/AMDGPU/fma.f64.ll
test/CodeGen/AMDGPU/fmax3.f64.ll
test/CodeGen/AMDGPU/fmax3.ll
test/CodeGen/AMDGPU/fmaxnum.f64.ll
test/CodeGen/AMDGPU/fmaxnum.ll
test/CodeGen/AMDGPU/fmin3.ll
test/CodeGen/AMDGPU/fminnum.ll
test/CodeGen/AMDGPU/fmul-2-combine-multi-use.ll
test/CodeGen/AMDGPU/fmul.f16.ll
test/CodeGen/AMDGPU/fmul.ll
test/CodeGen/AMDGPU/fmuladd.f64.ll
test/CodeGen/AMDGPU/fnearbyint.ll
test/CodeGen/AMDGPU/fneg-fabs.f64.ll
test/CodeGen/AMDGPU/fneg.f64.ll
test/CodeGen/AMDGPU/fneg.ll
test/CodeGen/AMDGPU/fp16_to_fp32.ll
test/CodeGen/AMDGPU/fp16_to_fp64.ll
test/CodeGen/AMDGPU/fp32_to_fp16.ll
test/CodeGen/AMDGPU/fp_to_sint.ll
test/CodeGen/AMDGPU/fp_to_uint.ll
test/CodeGen/AMDGPU/fpext.f16.ll
test/CodeGen/AMDGPU/fpext.ll
test/CodeGen/AMDGPU/fptosi.f16.ll
test/CodeGen/AMDGPU/fptoui.f16.ll
test/CodeGen/AMDGPU/fptrunc.f16.ll
test/CodeGen/AMDGPU/fptrunc.ll
test/CodeGen/AMDGPU/fract.f64.ll
test/CodeGen/AMDGPU/fract.ll
test/CodeGen/AMDGPU/frem.ll
test/CodeGen/AMDGPU/fsqrt.f64.ll
test/CodeGen/AMDGPU/fsqrt.ll
test/CodeGen/AMDGPU/fsub.f16.ll
test/CodeGen/AMDGPU/ftrunc.ll
test/CodeGen/AMDGPU/gep-address-space.ll
test/CodeGen/AMDGPU/global-directive.ll
test/CodeGen/AMDGPU/global-extload-i16.ll
test/CodeGen/AMDGPU/global_atomics.ll
test/CodeGen/AMDGPU/global_atomics_i64.ll
test/CodeGen/AMDGPU/gv-const-addrspace.ll
test/CodeGen/AMDGPU/gv-offset-folding.ll
test/CodeGen/AMDGPU/half.ll
test/CodeGen/AMDGPU/hsa-note-no-func.ll
test/CodeGen/AMDGPU/i1-copy-phi.ll
test/CodeGen/AMDGPU/icmp64.ll
test/CodeGen/AMDGPU/imm.ll
test/CodeGen/AMDGPU/imm16.ll
test/CodeGen/AMDGPU/indirect-addressing-si.ll
test/CodeGen/AMDGPU/indirect-private-64.ll
test/CodeGen/AMDGPU/infinite-loop.ll
test/CodeGen/AMDGPU/inline-asm.ll
test/CodeGen/AMDGPU/insert_vector_elt.ll
test/CodeGen/AMDGPU/kernel-args.ll
test/CodeGen/AMDGPU/large-alloca-graphics.ll
test/CodeGen/AMDGPU/llvm.AMDGPU.bfe.i32.ll
test/CodeGen/AMDGPU/llvm.AMDGPU.bfe.u32.ll
test/CodeGen/AMDGPU/llvm.AMDGPU.clamp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.atomic.dec.ll
test/CodeGen/AMDGPU/llvm.amdgcn.atomic.inc.ll
test/CodeGen/AMDGPU/llvm.amdgcn.class.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.cos.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.ll
test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll
test/CodeGen/AMDGPU/llvm.amdgcn.fract.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.fract.ll
test/CodeGen/AMDGPU/llvm.amdgcn.frexp.exp.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.frexp.exp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.frexp.mant.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.ldexp.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll
test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.rcp.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll
test/CodeGen/AMDGPU/llvm.amdgcn.rsq.clamp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.rsq.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.rsq.ll
test/CodeGen/AMDGPU/llvm.amdgcn.s.memrealtime.ll
test/CodeGen/AMDGPU/llvm.amdgcn.s.memtime.ll
test/CodeGen/AMDGPU/llvm.amdgcn.s.waitcnt.ll
test/CodeGen/AMDGPU/llvm.amdgcn.sffbh.ll
test/CodeGen/AMDGPU/llvm.amdgcn.sin.f16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.sin.ll
test/CodeGen/AMDGPU/llvm.amdgcn.trig.preop.ll
test/CodeGen/AMDGPU/llvm.amdgcn.workitem.id.ll
test/CodeGen/AMDGPU/llvm.ceil.f16.ll
test/CodeGen/AMDGPU/llvm.cos.f16.ll
test/CodeGen/AMDGPU/llvm.exp2.f16.ll
test/CodeGen/AMDGPU/llvm.floor.f16.ll
test/CodeGen/AMDGPU/llvm.fma.f16.ll
test/CodeGen/AMDGPU/llvm.fmuladd.f16.ll
test/CodeGen/AMDGPU/llvm.log2.f16.ll
test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
test/CodeGen/AMDGPU/llvm.memcpy.ll
test/CodeGen/AMDGPU/llvm.minnum.f16.ll
test/CodeGen/AMDGPU/llvm.r600.read.local.size.ll
test/CodeGen/AMDGPU/llvm.rint.f16.ll
test/CodeGen/AMDGPU/llvm.round.ll
test/CodeGen/AMDGPU/llvm.sin.f16.ll
test/CodeGen/AMDGPU/llvm.sqrt.f16.ll
test/CodeGen/AMDGPU/llvm.trunc.f16.ll
test/CodeGen/AMDGPU/load-constant-f64.ll
test/CodeGen/AMDGPU/load-constant-i1.ll
test/CodeGen/AMDGPU/load-constant-i16.ll
test/CodeGen/AMDGPU/load-constant-i32.ll
test/CodeGen/AMDGPU/load-constant-i64.ll
test/CodeGen/AMDGPU/load-constant-i8.ll
test/CodeGen/AMDGPU/load-global-f32.ll
test/CodeGen/AMDGPU/load-global-f64.ll
test/CodeGen/AMDGPU/load-global-i1.ll
test/CodeGen/AMDGPU/load-global-i16.ll
test/CodeGen/AMDGPU/load-global-i32.ll
test/CodeGen/AMDGPU/load-global-i64.ll
test/CodeGen/AMDGPU/load-global-i8.ll
test/CodeGen/AMDGPU/load-local-i32.ll
test/CodeGen/AMDGPU/load-local-i8.ll
test/CodeGen/AMDGPU/load-weird-sizes.ll
test/CodeGen/AMDGPU/local-64.ll
test/CodeGen/AMDGPU/local-atomics.ll
test/CodeGen/AMDGPU/local-atomics64.ll
test/CodeGen/AMDGPU/local-stack-slot-bug.ll
test/CodeGen/AMDGPU/local-stack-slot-offset.ll
test/CodeGen/AMDGPU/lshl.ll
test/CodeGen/AMDGPU/lshr.ll
test/CodeGen/AMDGPU/mad_int24.ll
test/CodeGen/AMDGPU/mad_uint24.ll
test/CodeGen/AMDGPU/madak.ll
test/CodeGen/AMDGPU/madmk.ll
test/CodeGen/AMDGPU/max.i16.ll
test/CodeGen/AMDGPU/merge-store-usedef.ll
test/CodeGen/AMDGPU/min.ll
test/CodeGen/AMDGPU/mubuf-shader-vgpr.ll
test/CodeGen/AMDGPU/mul.ll
test/CodeGen/AMDGPU/mul_int24.ll
test/CodeGen/AMDGPU/mul_uint24-amdgcn.ll
test/CodeGen/AMDGPU/operand-spacing.ll
test/CodeGen/AMDGPU/or.ll
test/CodeGen/AMDGPU/rcp-pattern.ll
test/CodeGen/AMDGPU/readcyclecounter.ll
test/CodeGen/AMDGPU/reduce-load-width-alignment.ll
test/CodeGen/AMDGPU/reg-coalescer-sched-crash.ll
test/CodeGen/AMDGPU/reorder-stores.ll
test/CodeGen/AMDGPU/rotl.i64.ll
test/CodeGen/AMDGPU/rotr.i64.ll
test/CodeGen/AMDGPU/rotr.ll
test/CodeGen/AMDGPU/s_addk_i32.ll
test/CodeGen/AMDGPU/s_movk_i32.ll
test/CodeGen/AMDGPU/s_mulk_i32.ll
test/CodeGen/AMDGPU/scalar_to_vector.ll
test/CodeGen/AMDGPU/schedule-kernel-arg-loads.ll
test/CodeGen/AMDGPU/sdiv.ll
test/CodeGen/AMDGPU/sdivrem24.ll
test/CodeGen/AMDGPU/sdivrem64.ll
test/CodeGen/AMDGPU/select-fabs-fneg-extract.ll
test/CodeGen/AMDGPU/select-i1.ll
test/CodeGen/AMDGPU/select-vectors.ll
test/CodeGen/AMDGPU/select.f16.ll
test/CodeGen/AMDGPU/selectcc-opt.ll
test/CodeGen/AMDGPU/setcc-opt.ll
test/CodeGen/AMDGPU/setcc64.ll
test/CodeGen/AMDGPU/seto.ll
test/CodeGen/AMDGPU/sext-in-reg.ll
test/CodeGen/AMDGPU/sgpr-copy-duplicate-operand.ll
test/CodeGen/AMDGPU/sgpr-copy.ll
test/CodeGen/AMDGPU/shl.ll
test/CodeGen/AMDGPU/shl_add_ptr.ll
test/CodeGen/AMDGPU/si-annotate-cf.ll
test/CodeGen/AMDGPU/si-lod-bias.ll
test/CodeGen/AMDGPU/si-sgpr-spill.ll
test/CodeGen/AMDGPU/si-spill-cf.ll
test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll
test/CodeGen/AMDGPU/si-vector-hang.ll
test/CodeGen/AMDGPU/sign_extend.ll
test/CodeGen/AMDGPU/sint_to_fp.i64.ll
test/CodeGen/AMDGPU/sint_to_fp.ll
test/CodeGen/AMDGPU/sitofp.f16.ll
test/CodeGen/AMDGPU/smed3.ll
test/CodeGen/AMDGPU/sminmax.ll
test/CodeGen/AMDGPU/smrd-vccz-bug.ll
test/CodeGen/AMDGPU/smrd.ll
test/CodeGen/AMDGPU/sopk-compares.ll
test/CodeGen/AMDGPU/sra.ll
test/CodeGen/AMDGPU/srl.ll
test/CodeGen/AMDGPU/store-global.ll
test/CodeGen/AMDGPU/store-v3i64.ll
test/CodeGen/AMDGPU/sub.i16.ll
test/CodeGen/AMDGPU/trunc-bitcast-vector.ll
test/CodeGen/AMDGPU/trunc-cmp-constant.ll
test/CodeGen/AMDGPU/trunc-store-i1.ll
test/CodeGen/AMDGPU/trunc-store.ll
test/CodeGen/AMDGPU/uaddo.ll
test/CodeGen/AMDGPU/udiv.ll
test/CodeGen/AMDGPU/udivrem.ll
test/CodeGen/AMDGPU/udivrem24.ll
test/CodeGen/AMDGPU/udivrem64.ll
test/CodeGen/AMDGPU/uint_to_fp.i64.ll
test/CodeGen/AMDGPU/uint_to_fp.ll
test/CodeGen/AMDGPU/uitofp.f16.ll
test/CodeGen/AMDGPU/umed3.ll
test/CodeGen/AMDGPU/unaligned-load-store.ll
test/CodeGen/AMDGPU/uniform-cfg.ll
test/CodeGen/AMDGPU/urecip.ll
test/CodeGen/AMDGPU/urem.ll
test/CodeGen/AMDGPU/use-sgpr-multiple-times.ll
test/CodeGen/AMDGPU/v_cndmask.ll
test/CodeGen/AMDGPU/v_mac.ll
test/CodeGen/AMDGPU/v_mac_f16.ll
test/CodeGen/AMDGPU/v_madak_f16.ll
test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot-compute.ll
test/CodeGen/AMDGPU/vselect.ll
test/CodeGen/AMDGPU/wait.ll
test/CodeGen/AMDGPU/waitcnt-flat.ll
test/CodeGen/AMDGPU/xor.ll
test/CodeGen/AMDGPU/zero_extend.ll