[LLVMbugs] [Bug 12018] New: llc crashes with "Instruction does not dominate all uses" on IL with debug metadata
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Thu Feb 16 12:37:00 PST 2012
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=12018
             Bug #: 12018
           Summary: llc crashes with "Instruction does not dominate all
                    uses" on IL with debug metadata
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified
Created attachment 8065
  --> http://llvm.org/bugs/attachment.cgi?id=8065
testcase
Running clang on the attached testcase
clang -cc1 -triple i386-apple-macosx10.7.0 -emit-llvm  -g -O2   -o test.ll -x
c++-cpp-output nsSMILAnimationFunction.ii -w
creates IL that crashes llc:
Instruction does not dominate all uses!
  %uglygep45 = bitcast i8* %uglygep4 to %struct.nsSMILValue*
  %scevgep6 = getelementptr %struct.nsSMILValue* %uglygep45, i32 4
Broken module found, compilation aborted!
Stack dump:
0.    Program arguments: /Users/espindola/llvm/build-dbg/bin/llc test.ll 
1.    Running pass 'Function Pass Manager' on module 'test.ll'.
2.    Running pass 'Module Verifier' on function '@_Z6foobarR8nsTArray'
(I will attach the IL too)
-- 
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