[PATCH] D127189: [clang][AIX] Add option to control quadword lock free atomics ABI on AIX

Kai Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 29 01:29:17 PDT 2022


lkail added a comment.

> Is there any precedent for options that start with -maix or -m<OS> for any other OS?

There is `-maix-struct-return`.

> Is quadword the best word to use? There is no type information and this is restricted to integers. Would something like -maix-i128-atomics be a better name?

'quadword' is used in ISA manual, so I follow it. Not merely `i128`, some struct types are also included, like

  struct Q {
    char c[16];
  };



> Since this is kind of an ABI-related decision, would it make sense (and would it be possible) to make this a further suboption to the -mabi option?

This makes sense. I'll try this solution.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127189/new/

https://reviews.llvm.org/D127189



More information about the cfe-commits mailing list