[PATCH] D138800: PredicateInfo: Convert test to opaque pointers

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 03:03:44 PST 2022


nikic added inline comments.


================
Comment at: llvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll:28
 bb3:                                              ; preds = %bb
-  %u1 = call i8* @fun(%1* %tmp)
-  %tmp2 = bitcast %0* %arg to i8*
+  %u1 = call ptr @fun(ptr %tmp)
   ret void
----------------
We need a use of `%arg` here. With the bitcast gone, adding `%u2 = call ptr @fun(ptr %arg)` should do.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138800/new/

https://reviews.llvm.org/D138800



More information about the llvm-commits mailing list