[LLVMbugs] [Bug 2469] New: function inlining tries to invoke intrinsics

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jun 17 03:11:29 PDT 2008


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

           Summary: function inlining tries to invoke intrinsics
           Product: libraries
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transformation Utilities
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jay.foad at antixlabs.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1753)
 --> (http://llvm.org/bugs/attachment.cgi?id=1753)
bitcode file

I'm using LLVM 2.2 on debian Linux/x86. With the attached bitcode file (derived
from Noiz2sa, http://www.asahi-net.or.jp/~cs8k-cyu/windows/noiz2sa_e.html) I
get:

$ opt -f -o /dev/null reduced.bc -inline
Cannot take the address of an intrinsic!
        %savedstack1 = invoke i8* @llvm.stacksave( )
                        to label %savedstack.noexc unwind label %unwind831     
        ; <i8*> [#uses=1]
Cannot take the address of an intrinsic!
        invoke void @llvm.stackrestore( i8* %savedstack1 )
                        to label %_Z7yyparsev.exit unwind label %unwind831
Broken module found, compilation aborted!
/home/foad/llvm/objdir/Release/bin/opt((anonymous
namespace)::PrintStackTrace()+0x1a)[0x83d981a]
/lib/tls/i686/cmov/libc.so.6(abort+0x109)[0xb7cd0fb9]
/home/foad/llvm/objdir/Release/bin/opt[0x8399c3a]
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