aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-07-27 15:36:07 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-07-27 15:39:03 +0300
commit61480db6019d01a7a97de6ec64991664bf9b4996 (patch)
tree3d5d42c59acd770bed5f2a4b146b1799c7cba53d /llvm/lib/Bitcode/Reader/BitReader.cpp
parent1bac5101cdaabfbc755a6d28936962d11240f932 (diff)
downloadllvm-61480db6019d01a7a97de6ec64991664bf9b4996.zip
llvm-61480db6019d01a7a97de6ec64991664bf9b4996.tar.gz
llvm-61480db6019d01a7a97de6ec64991664bf9b4996.tar.bz2
[Reduce] Argument reduction: shoe-horn new function into remaining uses of old function
Much like with function reduction, there may be remaining unhandled uses of function, in particular in blockaddress. And in constants we can't RAUW it with undef, because undef is not a function. Instead, let's try to pretent that in the remaining cases, the new signature didn't change, by bitcasting it. A new (previously crashing) test case added.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions