]> granicus.if.org Git - llvm/commit
AMDGPU: Constant fold when immediate is materialized
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Jan 2017 23:32:04 +0000 (23:32 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Jan 2017 23:32:04 +0000 (23:32 +0000)
commit1639229587068c2f8764431f73d833065d744573
treee1297e39d69b34d1bab387770eaea10a453cf657
parent2fa5ad0ad4943f22216c03f0b33629d03f368393
AMDGPU: Constant fold when immediate is materialized

In future commits these patterns will appear after moveToVALU changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291615 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIFoldOperands.cpp
test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir [new file with mode: 0644]