[LLVMbugs] [Bug 1553] NEW: syntax error on anonymous zext

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 12 09:58:12 PDT 2007


           Summary: syntax error on anonymous zext
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM assembly language parser
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: djg at cray.com

For this test case:

define void @hem() {
        %t = call i8 @hem( i8 10 )
        bitcast i8 %t to i8
        ret void

define void @bar() {
        %t = call i8 @foo( i8 10 )
        zext i8 %t to i32
        ret void

declare i8 @foo(i8)

I get this error:

llvm-as: test.ll:9,0: test.ll:9: error: syntax error, unexpected INTTYPE,
expecting LOAD or STORE while reading token: 'i8'

The anonymous bitcast instruction seems to be ok, which the anonymous zext
instruction which is otherwise essentially syntactically the same gets an error.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list