[PATCH] D85544: [OpenMPOpt] ICV tracking for calls
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 11 14:35:43 PDT 2020
jdoerfert added inline comments.
================
Comment at: llvm/test/Transforms/OpenMP/icv_tracking.ll:368
+; CHECK-NEXT: call void @weak_known_unique_icv(i1 [[TMP0]])
+; CHECK-NEXT: [[TMP5:%.*]] = call i32 @icv_free_use(i32 2)
+; CHECK-NEXT: ret void
----------------
this should not happen. The weak function should not be used in IPO. I guess we could make the AA actually work on all IRPositions. (call site) return for the value after a call, and function for the body. Then, I hope, the Attributor should not give you the Return value if you query the call site return value of a weak function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85544/new/
https://reviews.llvm.org/D85544
More information about the llvm-commits
mailing list