summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorYevgeny Rouban <yrouban@azul.com>2021-07-12 17:35:10 +0700
committerYevgeny Rouban <yrouban@azul.com>2021-07-12 18:13:00 +0700
commita95c336b5e3b72def68f75c67f3e5a134d3029e5 (patch)
tree2a17ab17029ad49f030169168df6b40753cd6516 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent84e429693fe5f225fe68b9dd54043cddb9c4cd4c (diff)
[RS4GC] Add a test to demonstrate duplication of base generation. NFC
This new test demonstrates a case where a base ptr is generated twice for the same value: the first one is generated while the gc.get.pointer.base() is inlined, the second is generated for the statepoint. This happens because the methods inlineGetBaseAndOffset() and insertParsePoints() do not share their defining value cache used by the findBasePointer() method. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D103238
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions