summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-08-31 02:32:12 +0000
committerBill Wendling <isanbard@gmail.com>2008-08-31 02:32:12 +0000
commit91bf1e0dc590b84f45958299b12dd89df29e6f80 (patch)
tree415e6aa1b1341bde182798474fef24bffc285b24
parent58bb4f1bf07a0ab78fa8aaf3f719db1717128d53 (diff)
downloadbcm5719-llvm-91bf1e0dc590b84f45958299b12dd89df29e6f80.tar.gz
bcm5719-llvm-91bf1e0dc590b84f45958299b12dd89df29e6f80.zip
CellSPU doesn't appear to support fully the "ISD::ROTR" operation. The DAG
combiner can now generate ROTR if the backend says that it can handle it. Cell SPU says this, but gets an error from code gen saying that it can't select ROTR. I'm xfailing this test until this can be fixed. llvm-svn: 55579
-rw-r--r--llvm/test/CodeGen/CellSPU/rotate_ops.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/CellSPU/rotate_ops.ll b/llvm/test/CodeGen/CellSPU/rotate_ops.ll
index 55104a4ceb7..9c7ebeb97dd 100644
--- a/llvm/test/CodeGen/CellSPU/rotate_ops.ll
+++ b/llvm/test/CodeGen/CellSPU/rotate_ops.ll
@@ -8,6 +8,12 @@
; RUN grep rothi.*,.3 %t1.s | count 1
; RUN: grep andhi %t1.s | count 4
; RUN: grep shlhi %t1.s | count 4
+; XFAIL: *
+
+;; FIXME: ROTR hasn't been implemented in CellSPU! It's marked as a "legal"
+;; operation, but if used, the code generator complains that it can't
+;; be selected.
+
target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
target triple = "spu"
OpenPOWER on IntegriCloud