First Last Prev Next    No search results available
Details
: [bcreader] Cannot read shift constant expressions from by...
Bug#: 92
: libraries
: Bitcode Reader
Status: RESOLVED
Resolution: FIXED
: All
: All
: 1.0
: P2
: normal
: 1.1

:
: compile-fail
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Chris Lattner <clattner@apple.com>
Assigned To: Chris Lattner <clattner@apple.com>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2003-11-05 13:44
Assembling the following, perfectly legal, program causes the bytecode reader to
assert:

; RUN: llvm-as < %s | llvm-dis
int %test() {
  ret int shr (int cast (int()* %test to int), ubyte 2)
}

This is test/Regression/Assembler/2003-10-05-ConstantExprShift.llx, distilled
from a kernel compilation problem found by Brian.

-Chris
------- Comment #1 From Chris Lattner 2003-11-05 13:56:36 -------
Err, the testcase name should have been -11- not -10-.

Here's the fix:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009141.html
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009142.html
------- Comment #2 From Chris Lattner 2003-11-05 14:38:14 -------
Another patch for this bug:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009144.html
------- Comment #3 From Chris Lattner 2003-11-05 14:45:16 -------
The final chapter in the saga of this bug:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009145.html

First Last Prev Next    No search results available