[PATCH] D49754: Add -m(no-)spe, and e500 CPU definitions and support to clang
vit9696 via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 29 03:37:49 PST 2019
vit9696 added a comment.
Thanks for pointing it out. You could use hasFeature from there during construction:
return SetCGInfo(
new PPC32TargetCodeGenInfo(Types, CodeGenOpts.FloatABI == "soft" || getTarget().hasFeature("spe")));
It works for me, but probably a separate argument is best to be used (or at least the current one is to be renamed).
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D49754/new/
https://reviews.llvm.org/D49754
More information about the cfe-commits
mailing list