Bugzilla – Bug 92
[bcreader] Cannot read shift constant expressions from bytecode file
Last modified: 2003-11-05 14:45:16
You need to log in before you can comment on or make changes to this bug.
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
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
Another patch for this bug: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009144.html
The final chapter in the saga of this bug: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009145.html