summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-12-13 13:24:29 -0800
committerFangrui Song <i@maskray.me>2021-12-13 13:24:29 -0800
commita6a07a514b8a084feaa7f4f15d569698b9840d83 (patch)
treee04efbc760de5925306f24ba724abf31ab23be57 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf2120328e81879bf14d2a5c381749a11577fa304 (diff)
[MachineOutliner] Don't outline functions starting with PATCHABLE_FUNCTION_ENTER/FENTRL_CALL
MachineOutliner may outline a "patchable-function-entry" function whose body has a TargetOpcode::PATCHABLE_FUNCTION_ENTER MachineInstr. This is incorrect because the special code sequence must stay unchanged to be used at run-time. Avoid outlining PATCHABLE_FUNCTION_ENTER. While here, avoid outlining FENTRY_CALL too (which doesn't reproduce currently) to allow phase ordering flexibility. Fixes #52635 Reviewed By: paquette Differential Revision: https://reviews.llvm.org/D115614
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions