aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorYoungsuk Kim <joseph942010@gmail.com>2023-11-16 06:00:36 -0500
committerGitHub <noreply@github.com>2023-11-16 06:00:36 -0500
commit23d41ed5c9b85670a08ca340785853074c289ff6 (patch)
tree19c867695c978ced69b9de93def1652421a35da3 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parent24c3cd1a5160ee938f6d5f34053bb72104b16e81 (diff)
downloadllvm-23d41ed5c9b85670a08ca340785853074c289ff6.zip
llvm-23d41ed5c9b85670a08ca340785853074c289ff6.tar.gz
llvm-23d41ed5c9b85670a08ca340785853074c289ff6.tar.bz2
[CGSCCPassManagerTest] Replace no-op bitcast to create constant using the old function (#72460)
With opaque pointers enabled, the existing ptr-to-ptr bitcast is a no-op and no longer creates a constant that references the old function. Replace the no-op bitcast with code that creates a constant that references the old function. The test now fails if the 1 new line of code added to `CallGraphUpdater::replaceFunctionWith()` in cb0ecc5c33bd56a3eed0fa30ac787accec45d637 is removed (test passes if kept intact). --------- Co-authored-by: Nikita Popov <github@npopov.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions