diff options
| author | Matthias Braun <matze@braunis.de> | 2015-12-04 01:51:19 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2015-12-04 01:51:19 +0000 |
| commit | 97d0ffbe0647c4ec49ed4c1e58c9067963f57f95 (patch) | |
| tree | 9ef2e681df282e6a4ac7703a472925902c5f836d /llvm/test/CodeGen/AMDGPU/literals.ll | |
| parent | 8267e7d4567bbd42371f64beae9de76ddf1bae3b (diff) | |
| download | bcm5719-llvm-97d0ffbe0647c4ec49ed4c1e58c9067963f57f95.tar.gz bcm5719-llvm-97d0ffbe0647c4ec49ed4c1e58c9067963f57f95.zip | |
ScheduleDAGInstrs: Rework schedule graph builder.
Re-comitting with a change that avoids undefined uses getting put into
the VRegUses list.
The new algorithm remembers the uses encountered while walking backwards
until a matching def is found. Contrary to the previous version this:
- Works without LiveIntervals being available
- Allows to increase the precision to subregisters/lanemasks
(not used for now)
The changes in the AMDGPU tests are necessary because the R600 scheduler
is not stable with respect to the order of nodes in the ready queues.
Differential Revision: http://reviews.llvm.org/D9068
llvm-svn: 254683
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/literals.ll')
| -rw-r--r-- | llvm/test/CodeGen/AMDGPU/literals.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/literals.ll b/llvm/test/CodeGen/AMDGPU/literals.ll index cff1c24f89d..9d2320cb2d1 100644 --- a/llvm/test/CodeGen/AMDGPU/literals.ll +++ b/llvm/test/CodeGen/AMDGPU/literals.ll @@ -7,8 +7,8 @@ ; ADD_INT literal.x KC0[2].Z, 5 ; CHECK: {{^}}i32_literal: -; CHECK: ADD_INT {{\** *}}T{{[0-9]\.[XYZW]}}, KC0[2].Z, literal.x -; CHECK-NEXT: LSHR +; CHECK: LSHR +; CHECK-NEXT: ADD_INT * {{\** *}}T{{[0-9]\.[XYZW]}}, KC0[2].Z, literal.y ; CHECK-NEXT: 5 define void @i32_literal(i32 addrspace(1)* %out, i32 %in) { entry: @@ -24,8 +24,8 @@ entry: ; ADD literal.x KC0[2].Z, 5.0 ; CHECK: {{^}}float_literal: -; CHECK: ADD {{\** *}}T{{[0-9]\.[XYZW]}}, KC0[2].Z, literal.x -; CHECK-NEXT: LSHR +; CHECK: LSHR +; CHECK-NEXT: ADD * {{\** *}}T{{[0-9]\.[XYZW]}}, KC0[2].Z, literal.y ; CHECK-NEXT: 1084227584(5.0 define void @float_literal(float addrspace(1)* %out, float %in) { entry: |

