aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2024-06-28 07:45:37 -0400
committerGitHub <noreply@github.com>2024-06-28 07:45:37 -0400
commit6c5b62b846ec327dd8e78d4c365b3059a298c019 (patch)
treee1243c230a60228b9d295e4e45abe9e7e96453c8 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent69c99ad7e84b075bbafc541a2e4397e18975391d (diff)
downloadllvm-6c5b62b846ec327dd8e78d4c365b3059a298c019.zip
llvm-6c5b62b846ec327dd8e78d4c365b3059a298c019.tar.gz
llvm-6c5b62b846ec327dd8e78d4c365b3059a298c019.tar.bz2
[BOLT][NFC] Separate isReversibleBranch's 2 semantics (#95572)
`isUnsupportedBranch` was renamed (and inverted) to `isReversibleBranch`, as that was how it was being used. But one use in `BinaryFunction::disassemble` was using the original meaning to detect unsupported branches, and the `isUnsupportedBranch` had 2 separate semantic checks. Move the unsupported branch check from `isReversibleBranch` to a new entry point: `isUnsupportedInstruction`. Call that from `BinaryFunction::disassemble`. Move the dynamic branch check from X86's isReversibleBranch to the base class, as it is not an architecture-specific check. Remove unnecessary `isReversibleBranch` calls from Instrumentation and X86 MCPlusBuilder.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions