[LLVMbugs] [Bug 13046] New: Assertion failed: (TargetRegisterInfo::isVirtualRegister(VReg) && "Not a vreg?")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 7 06:49:18 PDT 2012


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

             Bug #: 13046
           Summary: Assertion failed:
                    (TargetRegisterInfo::isVirtualRegister(VReg) && "Not a
                    vreg?")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8698
  --> http://llvm.org/bugs/attachment.cgi?id=8698
clang -O2 -emit-llvm output

Regression from around r158126 - r158136.

Original source for crash is FreeBSD sys/dev/ath/ath_hal/ar9002/ar9280.c

% clang -v
clang version 3.2 (trunk 158146)
Target: x86_64-unknown-freebsd9.0
Thread model: posix

% llc t.bc 
Assertion failed: (TargetRegisterInfo::isVirtualRegister(VReg) && "Not a
vreg?"), function AddRegisterOperand, file
/data/buildslave/freebsd-clang-amd64/src-llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp,
line 286.
Stack dump:
0.    Program arguments: llc t.bc 
1.    Running pass 'Function Pass Manager' on module 't.bc'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@ar9280SetChannel'
Abort (core dumped)

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