[LLVMbugs] [Bug 8311] New: test/CodeGen/X86/vec_cast.ll barfs with -mtriple=x86_64-(mingw32|win32)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 5 21:51:13 PDT 2010


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

           Summary: test/CodeGen/X86/vec_cast.ll barfs with
                    -mtriple=x86_64-(mingw32|win32)
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: geek4civic at gmail.com
                CC: llvmbugs at cs.uiuc.edu


vec_cast.ll has 2 actions below.

; RUN: llc < %s -march=x86-64 -mcpu=core2
; RUN: llc < %s -march=x86-64 -mcpu=core2 -disable-mmx

llc barfs on mingw(and maybe msvc) or with -mtriple=x86_64-(mingw32|win32).
I guess this test might pass also for win64.

On CentOS5(x86-64)
$ Release+Asserts/bin/llc -mtriple=x86_64-win32 -mcpu=core2 <
~/llvm/test/CodeGen/X86/vec_cast.ll
llc: /home/chapuni/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1345:
llvm::SDValue<unnamed>::SelectionDAGLegalize::LegalizeOp(llvm::SDValue):
Assertion `ExtType != ISD::EXTLOAD && "EXTLOAD should always be supported!"'
failed.
0  llc             0x0000000000dd59af
1  llc             0x0000000000dd7c72
2  libpthread.so.0 0x00000039de00eb10
3  libc.so.6       0x00000039dd430265 gsignal + 53
4  libc.so.6       0x00000039dd431d10 abort + 272
5  libc.so.6       0x00000039dd4296e6 __assert_fail + 246
6  llc             0x0000000000982d32
7  llc             0x000000000097d5ae
8  llc             0x0000000000982790
9  llc             0x000000000098582a
10 llc             0x0000000000985fa5
llvm::SelectionDAG::Legalize(llvm::CodeGenOpt::Level) + 197
11 llc             0x000000000094aae3
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 979
12 llc             0x000000000094d096
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 262
13 llc             0x000000000094d69f
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1487
14 llc             0x000000000094e1f8
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 248
15 llc             0x0000000000d1f47d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 557
16 llc             0x0000000000d1f57b
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
17 llc             0x0000000000d200d4
llvm::MPPassManager::runOnModule(llvm::Module&) + 500
18 llc             0x0000000000d20457 llvm::PassManagerImpl::run(llvm::Module&)
+ 167
19 llc             0x00000000005517bd main + 3581
20 libc.so.6       0x00000039dd41d994 __libc_start_main + 244
21 llc             0x000000000054f899 __gxx_personality_v0 + 697
Stack dump:
0.      Program arguments: Release+Asserts/bin/llc -mtriple=x86_64-win32
-mcpu=core2
1.      Running pass 'Function Pass Manager' on module '<stdin>'.
2.      Running pass 'X86 DAG->DAG Instruction Selection' on function '@a'
Aborted

-- 
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