Allow speculating llvm.sqrt, fma and fmuladd
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 31 Jan 2014 00:09:00 +0000 (00:09 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 31 Jan 2014 00:09:00 +0000 (00:09 +0000)
commite932091eb5e17511e0db975811fc5aaf038b7be3
treee48df00a4fb226454a4136aba8109f9cd13b8eef
parent4b4b8088609c501da779a3de6ab3d98670dc20c4
Allow speculating llvm.sqrt, fma and fmuladd

This doesn't set errno, so this should be OK.
Also update the documentation to explicitly state
that errno are not set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200501 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst
lib/Analysis/ValueTracking.cpp
test/Transforms/SimplifyCFG/speculate-math.ll [new file with mode: 0644]