summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DataLayout.cpp
diff options
context:
space:
mode:
authorShuxin Yang <shuxin.llvm@gmail.com>2013-03-25 22:52:29 +0000
committerShuxin Yang <shuxin.llvm@gmail.com>2013-03-25 22:52:29 +0000
commit93b1f12ac1c315ce79d3986d3bfe405cf38f6fff (patch)
tree5a65174ead35a476a3be13d7a58bae4e816c34e4 /llvm/lib/IR/DataLayout.cpp
parent4d8ad55c782f7e4e43a72e62d55b48cca57acbf6 (diff)
downloadbcm5719-llvm-93b1f12ac1c315ce79d3986d3bfe405cf38f6fff.tar.gz
bcm5719-llvm-93b1f12ac1c315ce79d3986d3bfe405cf38f6fff.zip
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 llvm-svn: 177933
Diffstat (limited to 'llvm/lib/IR/DataLayout.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud