[PATCH] D50886: [IR Verifier] Do not allow bitcast of pointer to vector of pointers and vice versa.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 19 20:37:35 PDT 2018


skatkov added inline comments.


================
Comment at: test/Verifier/bitcast-pointer-vector-neg.ll:7
+
+define <2 x i32*> @vector_illegal_bitcast_pointer_to_vector(i64* %a) {
+  %b = bitcast i64* %a to <2 x i32*>
----------------
arsenm wrote:
> Test names are misleading, these aren't pointers to vector
I'm sorry but I do not follow this comment...
The test represents bitcast of pointer to vector.
Will the name illegal_bitcast_pointer_to_vector_of_pointers fits better?


https://reviews.llvm.org/D50886





More information about the llvm-commits mailing list