[llvm] [PowerPC]redesign the target flags (PR #69695)
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 23:04:22 PST 2023
================
@@ -830,7 +816,9 @@ void PPCAsmPrinter::emitInstruction(const MachineInstr *MI) {
// For TLS initial-exec and local-exec accesses on AIX, we have one TOC
// entry for the symbol (with the variable offset), which is differentiated
// by MO_TPREL_FLAG.
- if (MO.getTargetFlags() & PPCII::MO_TPREL_FLAG) {
+ if (MO.getTargetFlags() == PPCII::MO_TPREL_FLAG ||
----------------
chenzheng1030 wrote:
Done
https://github.com/llvm/llvm-project/pull/69695
More information about the llvm-commits
mailing list