commit | 1cd1d02141788b212e185d190b4c358e47cc74b4 | [log] [tgz] |
---|---|---|
author | Shuxin Yang <shuxin.llvm@gmail.com> | Mon Mar 25 22:52:29 2013 +0000 |
committer | Shuxin Yang <shuxin.llvm@gmail.com> | Mon Mar 25 22:52:29 2013 +0000 |
tree | fa0982071c8d36376f6fa7a562c247805d826b60 | |
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