================
@@ -277,6 +284,11 @@ void Generate(const Record *OpRecord) {
OpRecord->getValueAsString("constrainedLLVMIntrinsic");
bool ConstrainedHasRoundingMode =
OpRecord->getValueAsBit("constrainedLLVMIntrinsicHasRoundingMode");
+ const DagInit *ArgsDag = OpRecord->getValueAsDag("arguments");
+ bool HasFastMathFlags =
+ llvm::any_of(ArgsDag->getArgNames(), [](const StringInit *Name) {
+ return Name && Name->getValue() == "fastmath_flags";
----------------
xakep8 wrote:
This might break in case of a name change, but this can be solved in a future
patch.
https://github.com/llvm/llvm-project/pull/226334
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits