diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2012-04-23 18:25:57 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2012-04-23 18:25:57 +0000 |
| commit | 3c3bb55a85645f6fba216f7fac2df55be53eaebb (patch) | |
| tree | e60ac49ee214d7b0681b1a5f56cf701aca77bd7c /llvm/test/CodeGen/Hexagon/fusedandshift.ll | |
| parent | 70ac923ebce80aff567880d577896c275ddbf171 (diff) | |
| download | bcm5719-llvm-3c3bb55a85645f6fba216f7fac2df55be53eaebb.tar.gz bcm5719-llvm-3c3bb55a85645f6fba216f7fac2df55be53eaebb.zip | |
Revert r155365, r155366, and r155367. All three of these have regression
test suite failures. The failures occur at each stage, and only get
worse, so I'm reverting all of them.
Please resubmit these patches, one at a time, after verifying that the
regression test suite passes. Never submit a patch without running the
regression test suite.
llvm-svn: 155372
Diffstat (limited to 'llvm/test/CodeGen/Hexagon/fusedandshift.ll')
| -rw-r--r-- | llvm/test/CodeGen/Hexagon/fusedandshift.ll | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/test/CodeGen/Hexagon/fusedandshift.ll b/llvm/test/CodeGen/Hexagon/fusedandshift.ll deleted file mode 100644 index 022b3c67345..00000000000 --- a/llvm/test/CodeGen/Hexagon/fusedandshift.ll +++ /dev/null @@ -1,16 +0,0 @@ -; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s -; Check that we generate fused logical and with shift instruction. - -; CHECK: r{{[0-9]+}} = and(#15, lsr(r{{[0-9]+}}, #{{[0-9]+}}) - -define i32 @main(i16* %a, i16* %b) nounwind { - entry: - %0 = load i16* %a, align 2 - %conv1 = sext i16 %0 to i32 - %shr1 = ashr i32 %conv1, 3 - %and1 = and i32 %shr1, 15 - %conv2 = trunc i32 %and1 to i16 - store i16 %conv2, i16* %b, align 2 - ret i32 0 -} - |

