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.
Differential D50886
[IR Verifier] Do not allow bitcast of pointer to vector of pointers and vice versa. skatkov on Aug 17 2018, 1:56 AM. Authored by
Details LangRef for BitCast requires that This change fixes that.
Diff Detail
Event Timeline
|