commit | 93947c3985ebfd3ee574e02101a75f924641006b | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Wed Jan 17 02:47:33 2007 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Wed Jan 17 02:47:33 2007 +0000 |
tree | cbaad7d4e70df22230318a43fcac6ac10ebc9b2f | |
parent | 0a11af1f73916b53cd4eb4ebac37527facd9cf3b [diff] |
For PR1117: Make the assembler generate a nice error message if a bad cast instruction is attempted instead of asserting out. This is made possible by the recently exposed method CastInst::castIsValid() which checks the validity of any cast instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33283 91177308-0d34-0410-b5e6-96231b3b80d8