Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Thanks a lot for tracking this down!
LGTM, two nits though: can we include the reproducer as test please, and below.
llvm/include/llvm/Transforms/IPO/Attributor.h | ||
---|---|---|
1346 | Can you add a doxygen comment here describing when/why we sometimes cannot change a use. |
Comment Actions
I'm not actually sure that this is the right change, it was more of a "does something like this make sense"
Updating the tests, this is doing something wrong since it's replacing a bunch of values with undef. We'd probably need to look at all of the callers to see if they're doing the right thing.
Can you add a doxygen comment here describing when/why we sometimes cannot change a use.