[PATCH] D122478: [PowerPC] Add max/min intrinsics to Clang and PPC backend

Ting Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 27 19:54:40 PDT 2022


tingwang updated this revision to Diff 418485.
tingwang added a comment.

Option -mlong-double-128 is not supported on AIX currently, and clang fails due to type mismatch in the fe case. Add check logic to print diag message in this case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122478

Files:
  clang/include/clang/Basic/BuiltinsPPC.def
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Basic/Targets/PPC.cpp
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGen/PowerPC/builtins-ppc.c
  clang/test/Sema/builtins-ppc.c
  llvm/include/llvm/IR/IntrinsicsPowerPC.td
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-maxmin.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122478.418485.patch
Type: text/x-patch
Size: 18034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220328/368140f3/attachment-0001.bin>


More information about the cfe-commits mailing list