[all-commits] [llvm/llvm-project] f58ab3: [Attributor][FIX] Pipe UsedAssumedInformation thro...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Tue Mar 1 14:14:30 PST 2022
Branch: refs/heads/release/14.x
Home: https://github.com/llvm/llvm-project
Commit: f58ab32850211621d5986da2d687be0d550e7140
https://github.com/llvm/llvm-project/commit/f58ab32850211621d5986da2d687be0d550e7140
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2022-03-01 (Tue, 01 Mar 2022)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/norecurse.ll
M llvm/test/Transforms/OpenMP/custom_state_machines.ll
Log Message:
-----------
[Attributor][FIX] Pipe UsedAssumedInformation through more interfaces
`UsedAssumedInformation` is a return argument utilized to determine what
information is known. Most APIs used it already but
`genericValueTraversal` did not. This adds it to `genericValueTraversal`
and replaces `AllCallSitesKnown` of `checkForAllCallSites` with the
commonly used `UsedAssumedInformation`.
This was supposed to be a NFC commit, then the test change appeared.
Turns out, we had one user of `AllCallSitesKnown` (AANoReturn) and the
way we set `AllCallSitesKnown` was wrong as we ignored the fact some
call sites were optimistically assumed dead. Included a dedicated test
for this as well now.
Fixes https://github.com/llvm/llvm-project/issues/53884
More information about the All-commits
mailing list