AMDGPU: Remove custom node for exports
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 5 Jan 2020 00:49:17 +0000 (19:49 -0500)
committerMatt Arsenault <arsenm2@gmail.com>
Wed, 15 Jan 2020 23:33:15 +0000 (18:33 -0500)
commiteef92f25ccf186935008c98f8147ad2ee178dcbb
tree4e9585ab314f55fc1aa98c553e51bb16bb5eec05
parent25e9938a45e8dfde752a4e93c48ff0184d4784d9
AMDGPU: Remove custom node for exports

I'm mildly worried about potentially reordering exp/exp_done with
IntrWriteMem on the intrinsic.

Requires hacking out the illegal type on SI, so manually select that
case during lowering.
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/SIInstructions.td