diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-07-23 01:48:24 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-07-23 01:48:24 +0000 |
commit | 58d3335cb9d2a40bd15c29a12ba045163295190e (patch) | |
tree | d28995a1a1aab41ad515eb57064e8386c5ce5fb2 /test/CodeGen/R600/bfi_int.ll | |
parent | a7eea0568c16f8e25b9e3ba9b7b73ae506738b63 (diff) | |
download | external_llvm-58d3335cb9d2a40bd15c29a12ba045163295190e.zip external_llvm-58d3335cb9d2a40bd15c29a12ba045163295190e.tar.gz external_llvm-58d3335cb9d2a40bd15c29a12ba045163295190e.tar.bz2 |
R600: Move CONST_ADDRESS folding into AMDGPUDAGToDAGISel::Select()
This increases the number of opportunites we have for folding. With the
previous implementation we were unable to fold into any instructions
other than the first when multiple instructions were selected from a
single SDNode.
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/bfi_int.ll')
-rw-r--r-- | test/CodeGen/R600/bfi_int.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/R600/bfi_int.ll b/test/CodeGen/R600/bfi_int.ll index b001ad0..501c556 100644 --- a/test/CodeGen/R600/bfi_int.ll +++ b/test/CodeGen/R600/bfi_int.ll @@ -36,7 +36,7 @@ entry: ; SHA-256 Ma function ; ((x & z) | (y & (x | z))) ; R600-CHECK: @bfi_sha256_ma -; R600-CHECK: XOR_INT * [[DST:T[0-9]+\.[XYZW]]], +; R600-CHECK: XOR_INT * [[DST:T[0-9]+\.[XYZW]]], KC0[2].Z, KC0[2].W ; R600-CHECK: BFI_INT * {{T[0-9]+\.[XYZW]}}, {{[[DST]]|PV\.[XYZW]}}, KC0[3].X, KC0[2].W ; SI-CHECK: V_XOR_B32_e64 [[DST:VGPR[0-9]+]], {{[SV]GPR[0-9]+, [SV]GPR[0-9]+}} ; SI-CHECK: V_BFI_B32 {{VGPR[0-9]+}}, [[DST]], {{[SV]GPR[0-9]+, [SV]GPR[0-9]+}} |