[PATCH] D159002: Attributor: Fix not propagating nofpclass arguments through transitive callers
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 22:36:44 PDT 2023
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:10379
State.addKnownBits(~KnownFPClass.KnownFPClasses);
-
- bool TrackUse = false;
- return TrackUse;
+ return true;
}
----------------
arsenm wrote:
> jdoerfert wrote:
> > Do we really follow any use?
> The only uses I could think of being worth skipping would be stores or void calls, which would naturally have no uses.
>
> Maybe unrecognizable generic calls? Filtering out those is more effort if you want to consider libcalls
I mean, this could just flow into a call, what has the call return to do with the value we are tracking, right?
This could also flow into a fp2int and then into all sorts of things.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159002/new/
https://reviews.llvm.org/D159002
More information about the llvm-commits
mailing list