summaryrefslogtreecommitdiffstats
path: root/llvm/test/Verifier/bitcast-vector-pointer-as-neg.ll
Commit message (Collapse)AuthorAgeFilesLines
* [IR Verifier] Do not allow bitcast of pointer to vector of pointers and vice ↵Serguei Katkov2018-08-211-0/+15
versa. LangRef for BitCast requires that "The bit sizes of value and the destination type, ty2, must be identical". Currently verifier allows BitCast of pointer to vector of pointers so that the sizes are different. This change fixes that. Reviewers: arsenm Reviewed By: arsenm Subscribers: llvm-commits, wdng Differential Revision: https://reviews.llvm.org/D50886 llvm-svn: 340249
OpenPOWER on IntegriCloud