[PATCH] D100091: [X86] Fix wrong handle with "-mno-x87"

LiuChen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 12 01:36:08 PDT 2021


LiuChen3 added a comment.

> I'm more concerned about these cases that don't use long double and aren't missed constant folding. https://godbolt.org/z/qGv54ef34

I see.  This also break the ABI.  Even when returning fp80 on 32bit target, gcc does not report an error. Can llvm report an error just like on a 64bit target?
Should we discuss the ABI issue on llvm-dev?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100091



More information about the llvm-commits mailing list