]> granicus.if.org Git - llvm/commit
AMDGPU: Fix invalid copies when copying i1 to phys reg
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 12 Apr 2017 21:58:23 +0000 (21:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 12 Apr 2017 21:58:23 +0000 (21:58 +0000)
commitab28f3b39e53596ec660fdcb3f9c7be922355003
treec1b73533bf328ede368a492c47c68ea1b0f6ec27
parentbb9002fbb263ae2f73822f567fc111772d38a04b
AMDGPU: Fix invalid copies when copying i1 to phys reg

Insert a VReg_1 virtual register so the i1 workaround pass
can handle it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300113 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIISelLowering.h
test/CodeGen/AMDGPU/inline-asm.ll