Richard Sandiford 37cd6cfba2 Turn MipsOptimizeMathLibCalls into a target-independent scalar transform
...so that it can be used for z too.  Most of the code is the same.
The only real change is to use TargetTransformInfo to test when a sqrt
instruction is available.

The pass is opt-in because at the moment it only handles sqrt.

llvm-svn: 189097
2013-08-23 10:27:02 +00:00
2013-08-19 18:31:49 +00:00
S
Description
No description provided
887 MiB
Languages
C++ 46.8%
LLVM 31.2%
C 10.7%
Assembly 7.2%
Python 1.4%
Other 2.3%