aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Demangle/RustDemangle.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2021-05-16 00:12:08 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2021-06-18 01:07:53 -0500
commit30c9d68ad93af7f420f6d01f91adf12ff36254a0 (patch)
tree4b477b981a78d292558229aae14554a7aebbfdd8 /llvm/lib/Demangle/RustDemangle.cpp
parent3d6df0108b48358b8cdc6cf3267300c217fe823c (diff)
downloadllvm-30c9d68ad93af7f420f6d01f91adf12ff36254a0.zip
llvm-30c9d68ad93af7f420f6d01f91adf12ff36254a0.tar.gz
llvm-30c9d68ad93af7f420f6d01f91adf12ff36254a0.tar.bz2
[Attributor][FIX] Arguments of unknown functions can be undef
This should fix PR50683. The wrong assumption was that we could always know what the callee is when we replace a call site argument with undef. We wanted to know that to remove the `noundef` that might be attached to the argument. Since no callee means we did the propagation on the caller site, there is no need to remove an attribute. It is only needed if we replace all uses and therefore pass `undef` instead of the value that was passed in otherwise.
Diffstat (limited to 'llvm/lib/Demangle/RustDemangle.cpp')
0 files changed, 0 insertions, 0 deletions