diff options
author | Christian Konig <christian.koenig@amd.com> | 2013-02-16 11:28:22 +0000 |
---|---|---|
committer | Christian Konig <christian.koenig@amd.com> | 2013-02-16 11:28:22 +0000 |
commit | e25e490793241e471036c3e2f969ce6a068e5ce1 (patch) | |
tree | 3a45cc748382fb881432d9993e1e03e5ce28514d /lib/Target/R600/AMDGPUTargetMachine.cpp | |
parent | 8e4eebcecf291386a321d0f8582b8a57841ea8c9 (diff) |
R600/SI: cleanup literal handling v3
Seems to be allot simpler, and also paves the
way for further improvements.
v2: rebased on master, use 0 in BUFFER_LOAD_FORMAT_XYZW,
use VGPR0 in dummy EXP, avoid compiler warning, break
after encoding the first literal.
v3: correctly use V_ADD_F32_e64
This is a candidate for the stable branch.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/AMDGPUTargetMachine.cpp')
-rw-r--r-- | lib/Target/R600/AMDGPUTargetMachine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/R600/AMDGPUTargetMachine.cpp b/lib/Target/R600/AMDGPUTargetMachine.cpp index 821e86476f..e2f00be41e 100644 --- a/lib/Target/R600/AMDGPUTargetMachine.cpp +++ b/lib/Target/R600/AMDGPUTargetMachine.cpp @@ -145,7 +145,6 @@ bool AMDGPUPassConfig::addPreEmitPass() { addPass(&FinalizeMachineBundlesID); addPass(createR600LowerConstCopy(*TM)); } else { - addPass(createSILowerLiteralConstantsPass(*TM)); addPass(createSILowerControlFlowPass(*TM)); } |