[PATCH] D114162: [X86][clang] Enable floating-point type for -mno-x87 option on 32-bits

Phoebe Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 18 06:49:43 PST 2021


pengfei created this revision.
pengfei added reviewers: asavonic, erichkeane, nickdesaulniers.
pengfei requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

We should match GCC's behavior which allows floating-point type for -mno-x87 option on 32-bits. https://godbolt.org/z/KrbhfWc9o

The previous block issues have partially been fixed by D112143 <https://reviews.llvm.org/D112143>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114162

Files:
  clang/lib/Basic/Targets/X86.cpp
  clang/test/Sema/x86-no-x87.cpp
  clang/test/Sema/x86_64-no-x87.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114162.388184.patch
Type: text/x-patch
Size: 11702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211118/e1722e13/attachment-0001.bin>


More information about the cfe-commits mailing list