diff options
author | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-03-25 22:52:29 +0000 |
---|---|---|
committer | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-03-25 22:52:29 +0000 |
commit | 1cd1d02141788b212e185d190b4c358e47cc74b4 (patch) | |
tree | fa0982071c8d36376f6fa7a562c247805d826b60 /lib/Support/MemoryObject.cpp | |
parent | 3800f5748ffdb55d8838eac9300d84276c3dd2c1 (diff) |
Disable some unsafe-fp-math DAG-combine transformation after legalization.
For instance, following transformation will be disabled:
x + x + x => 3.0f * x;
The problem of these transformations is that it introduces a FP constant, which
following Instruction-Selection pass cannot handle.
Reviewed by Nadav, thanks a lot!
rdar://13445387
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/MemoryObject.cpp')
0 files changed, 0 insertions, 0 deletions