]> granicus.if.org Git - llvm/commit
AMDGPU: Don't use SDNodeXForm for DS offset output
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 22 Jul 2019 21:38:11 +0000 (21:38 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 22 Jul 2019 21:38:11 +0000 (21:38 +0000)
commit2aa3ea763fc6569080ef73a412fa2cfb96191fae
tree2a6d7387b6db868b5c9d4e97695369f979db43d0
parentc95e4acb85316f7230cb3b64577244f0ca7da9ce
AMDGPU: Don't use SDNodeXForm for DS offset output

The xform has no real valuewhen it's using out of a complex pattern
output. The complex pattern was already creating TargetConstants with
i16, so this was just unnecessary machinery.

This allows global isel to import the simple cases once the complex
pattern is implemented.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366743 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/DSInstructions.td