[LLVMbugs] [Bug 5624] New: test/CodeGen/Generic has target specific tests

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 27 02:41:06 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=5624

           Summary: test/CodeGen/Generic has target specific tests
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


r90002 fails with --enable-targets=host-only:
FAIL: /home/edwin/llvm-git/llvm/test/CodeGen/Generic/2009-11-20-NewNode.ll for
PR5558
Failed with exit(1) at line 1                                                   
while running:  llc -march=msp430 <
/home/edwin/llvm-git/llvm/test/CodeGen/Generic/2009-11-20-NewNode.ll
llc: error: invalid target 'msp430'.   


Its not the only arch-specific test in CodeGen, it just happens that the other
tests are all x86 and since I am building on x86 they are not failing (but they
would probably fail on ppc):

Here are all the arch-dep tests, shouldn't these be moved to their own
directory in codegen (so they are not tested when that target is not built)?
$ grep march *.ll
2006-04-11-vecload.ll:; RUN: llc < %s -march=x86 -mcpu=yonah
2006-11-06-MemIntrinsicExpand.ll:; RUN: llc < %s -march=x86 | not grep adc
2006-12-16-InlineAsmCrash.ll:; RUN: llc < %s -march=x86
2007-02-23-DAGCombine-Miscompile.ll:; RUN: llc < %s -march=x86 | grep {movl    
\$1, %eax}
2007-04-14-BitTestsBadMask.ll:; RUN: llc < %s -march=x86 | grep 8388635
2007-04-14-BitTestsBadMask.ll:; RUN: llc < %s -march=x86-64 | grep 4294981120
2007-04-27-BitTestsBadMask.ll:; RUN: llc < %s -march=x86 | grep je | count 3
2007-04-27-BitTestsBadMask.ll:; RUN: llc < %s -march=x86-64 | grep 4297064449
2007-05-03-EHTypeInfo.ll:; RUN: llc < %s -enable-eh -march=x86
2007-06-06-CriticalEdgeLandingPad.ll:; RUN: llc < %s -march=x86 -enable-eh
-asm-verbose -o - | FileCheck %s
2009-11-20-NewNode.ll:; RUN: llc -march=msp430 < %s
2009-11-20-NewNode.ll:; RUN: llc -march=pic16 < %s
addc-fold2.ll:; RUN: llc < %s -march=x86 | grep add
addc-fold2.ll:; RUN: llc < %s -march=x86 | not grep adc
fpowi-promote.ll:; RUN: llc < %s -march=x86 -mcpu=i386
phi-immediate-factoring.ll:; RUN: llc < %s -march=x86 | grep {movl      \$1} |
count 1
switch-crit-edge-constant.ll:; RUN: llc < %s -march=x86 | \
switch-lower-feature-2.ll:; RUN: llc < %s -march=x86 -o %t
switch-lower-feature.ll:; RUN: llc < %s -march=x86 -o - | grep {\$7} | count 1
switch-lower-feature.ll:; RUN: llc < %s -march=x86 -o - | grep {\$6} | count 1
switch-lower-feature.ll:; RUN: llc < %s -march=x86 -o - | grep 1024 | count 1
switch-lower-feature.ll:; RUN: llc < %s -march=x86 -o - | grep jb | count 2
switch-lower-feature.ll:; RUN: llc < %s -march=x86 -o - | grep je | count 1
SwitchLowering.ll:; RUN: llc < %s -march=x86 | grep cmp | count 1


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list