diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-26 21:51:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-26 21:51:43 +0000 |
commit | 0b68a009f63412d4aa7c5f2d68b899e6e1dcc257 (patch) | |
tree | e0bfc6be3e6222c4065a15538b37b5106d06b562 /lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | |
parent | 976ac628f48c997cb38ec7bd3c8325d265171142 (diff) |
fix CastInst::castIsValid to reject aggregate types, fixing PR6153:
llvm-as: t.ll:1:25: error: invalid cast opcode for cast from '[4 x i8]' to '[1 x i32]'
@x = constant [1 x i32] bitcast ([4 x i8] c"abcd" to [1 x i32])
^
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
0 files changed, 0 insertions, 0 deletions