[PATCH] D46135: [Driver, CodeGen] add options to enable/disable an FP cast optimization

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 26 10:49:44 PDT 2018


lebedev.ri added inline comments.


================
Comment at: test/CodeGen/no-junk-ftrunc.c:1
+// RUN: %clang_cc1 -S -ffp-cast-overflow-workaround %s -emit-llvm -o - | FileCheck %s
+
----------------
For a good measure, i'd add one more `RUN` line to test that it is currently the default.
(Yes, i noticed that it is already tested in `test/Driver/fast-math.c`)


https://reviews.llvm.org/D46135





More information about the cfe-commits mailing list