Program counter on AIX is the dollar-sign.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp | ||
---|---|---|
422 | Suggestion: [ ... ] This is used by the branch selection pass to print, for example, `.+8` (for ELF) or `$+8` (on AIX) to express an eight byte displacement from the program counter. | |
llvm/test/CodeGen/PowerPC/aix-print-pc.mir | ||
1 | Is this a case where we can (or should) test for 64-bit now? |
llvm/test/CodeGen/PowerPC/aix-print-pc.mir | ||
---|---|---|
1 | Sure, we have enough 64-bit assembly support. I've added a 64-bit runstep. |
Comment Actions
Noticed that what we get from MAI.getDollarIsPC() on AIX isn't consistent with this patch. We should probably update that property as well and emit consistently according to that if we can (note though PPC ELF currently sets it (?)).
Suggestion: