[PATCH] D31167: Use FPContractModeKind universally

Mehdi AMINI via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 13 00:41:52 PDT 2017


mehdi_amini added a comment.

I believe considering the goal of moving to using per-instruction FMF and kills the global backend option, this leads to a bitcode upgrade issue: OpenCL (or other) bitcode that were generated bitcode don't have the right FMF and will be upgraded conservatively.
Performance regression when upgrading bitcode are to be expected in general, so it is not a bug.
To recover, an option for an OpenCL backend would be to add a pass that set the expected FMF everywhere after bitcode upgrade.


Repository:
  rL LLVM

https://reviews.llvm.org/D31167





More information about the cfe-commits mailing list