Add a small missed optimization: turn X == C ? X : Y into X == C ? C : Y. This
[llvm/stm8.git] / test / Assembler / 2007-01-16-CrashOnBadCast2.ll
blobc05c60952c599290242c28e7a1b2af2ec1468e2d
1 ; PR1117
2 ; RUN: not llvm-as %s -o /dev/null |& grep {invalid cast opcode for cast from}
4 @X = constant i8* trunc (i64 0 to i8*)