[all-commits] [llvm/llvm-project] b2d272: [BOLT][X86] Fix getTargetSymbol() (#133834)
Maksim Panchenko via All-commits
all-commits at lists.llvm.org
Mon Mar 31 18:31:55 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b2d272ccfb9407ded7e54d1eabd5b5743aa9dd1b
https://github.com/llvm/llvm-project/commit/b2d272ccfb9407ded7e54d1eabd5b5743aa9dd1b
Author: Maksim Panchenko <maks at fb.com>
Date: 2025-03-31 (Mon, 31 Mar 2025)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
A bolt/test/X86/lite-mode-target-expr.s
Log Message:
-----------
[BOLT][X86] Fix getTargetSymbol() (#133834)
In 96e5ee2, I inadvertently broke the way non-trivial symbol references
got updated from non-optimized code. The breakage was a consequence of
`getTargetSymbol(MCExpr *)` not returning a symbol when the parameter
was a binary expression. Fix `getTargetSymbol()` to cover such cases.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list