[llvm-commits] [llvm] r55579 - /llvm/trunk/test/CodeGen/CellSPU/rotate_ops.ll

Bill Wendling isanbard at gmail.com
Sat Aug 30 19:32:12 PDT 2008


Author: void
Date: Sat Aug 30 21:32:12 2008
New Revision: 55579

URL: http://llvm.org/viewvc/llvm-project?rev=55579&view=rev
Log:
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.

Modified:
    llvm/trunk/test/CodeGen/CellSPU/rotate_ops.ll

Modified: llvm/trunk/test/CodeGen/CellSPU/rotate_ops.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/CellSPU/rotate_ops.ll?rev=55579&r1=55578&r2=55579&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/CellSPU/rotate_ops.ll (original)
+++ llvm/trunk/test/CodeGen/CellSPU/rotate_ops.ll Sat Aug 30 21:32:12 2008
@@ -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"
 





More information about the llvm-commits mailing list