[PATCH] D112413: [X86] Add -mskip-rax-setup support to align with GCC

Phoebe Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 14 18:59:47 PST 2021


pengfei updated this revision to Diff 387147.
pengfei marked 3 inline comments as done.
pengfei added a comment.
Herald added a subscriber: dexonsmith.

Address review comments.

1. Add support for `-mno-skip-rax-setup` and its test;
2. Use module flag metadata instead of command line option in backend;


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112413

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/CodeGen/pr23258.c
  clang/test/Driver/x86_features.c
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/pr23258.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112413.387147.patch
Type: text/x-patch
Size: 5542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211115/a2ec9ac2/attachment.bin>


More information about the cfe-commits mailing list