MaskRay added a comment.

It seems that the intention of `-mgeneral-regs-only` is to prevent FP and SIMD 
register use.

aarch64-linux-gnu-gcc has such an error

  error: ‘-mgeneral-regs-only’ is incompatible with the use of floating-point 
types

Clang doesn't reject FP in Sema yet, but I think changing CodeGen is incorrect.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134717

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to