[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
Chris Lattner
clattner at apple.com
Sat Apr 28 13:46:46 PDT 2007
On Apr 28, 2007, at 1:01 PM, Anton Korobeynikov wrote:
>> I'd suggest: && isa<GlobalValue>(CE->getOperand(0))
> So, nobody will produce multiple bitcasts, right?
> e.g. this is illegal:
> @A = alias (bitcast (bitcast i64* @foo to i8*) to i32*
Right, ConstantExpr::getBitCast will fold those. Try doing llvm-as |
llvm-dis and the output should have them folded.
-Chris
More information about the llvm-commits
mailing list