summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2021-05-06 16:51:37 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2021-05-23 20:47:06 -0500
commit5cdc29f7958263b754908ca0bd69be802e1f42f3 (patch)
tree7a59d342f4e988533ac3eadf2598df57707cf4f2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent9098fc9f427fcc61c37903646e5e09f59a708fd5 (diff)
[Attributor][FIX] Ensure we replace undef if we see the first "real" value
The state of AAPotentialValues tracks if undef is contained. It should fold undef into the first non-undef value. However we missed a case before. There was also a shadowing definition of two variables that caused trouble. The test exposes both problems.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions