diff options
| author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-05-09 20:02:18 -0500 |
|---|---|---|
| committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-05-23 23:00:40 -0500 |
| commit | 6caea8a7fa62112070b465eccb7baa241969266c (patch) | |
| tree | 738eafb94ac94f932ee278de44a00a0016242f4d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 55e9c282129ebcc1cefd12488831d45a436593b1 (diff) | |
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
