apazos added inline comments.
================
Comment at: lib/Basic/Targets/RISCV.h:85
+ bool hasInt128Type(const LangOptions &Opts) const override {
+ return Opts.UseInt128;
+ }
----------------
kito-cheng wrote:
> efriedma wrote:
> > Maybe make this a cross-platform flag, rather than riscv-specific?
> +1, then we can make all other 32 bits target to able easier support float128
> too :)
OK... so we can move the option check to the TargetInfo class, and the
target-specific implementation overrides it as needed.
Repository:
rC Clang
https://reviews.llvm.org/D43105
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits