diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-05-09 20:02:18 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-06-18 01:07:52 -0500 |
commit | d9194b6efb4d287d2a9f2ad216a6fb5b7b260353 (patch) | |
tree | 5bfddfed9d3a2e36fb83bb59504c600a34417a58 /llvm/lib/Demangle/RustDemangle.cpp | |
parent | 9959eee0015a97f3eb6bdb1b7b1f500190d66f53 (diff) | |
download | llvm-d9194b6efb4d287d2a9f2ad216a6fb5b7b260353.zip llvm-d9194b6efb4d287d2a9f2ad216a6fb5b7b260353.tar.gz llvm-d9194b6efb4d287d2a9f2ad216a6fb5b7b260353.tar.bz2 |
[Attributor] Introduce a helper do deal with constant type mismatches
If we simplify values we sometimes end up with type mismatches. If the
value is a constant we can often cast it though to still allow
propagation. The logic is now put into a helper and it replaces some
ad hoc things we did before.
This also introduces the AA namespace for abstract attribute related
functions and types.
Differential Revision: https://reviews.llvm.org/D103856
Diffstat (limited to 'llvm/lib/Demangle/RustDemangle.cpp')
0 files changed, 0 insertions, 0 deletions