summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-23 10:27:02 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-23 10:27:02 +0000
commit37cd6cfba2e92fa89fbc4e8653edf1bb3229ba0d (patch)
treee6823002829472937c12857c88104b02b2d3b7a3 /llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
parent1f1b2756a467b8ab835109c4aae6a4e84cbd64c3 (diff)
downloadbcm5719-llvm-37cd6cfba2e92fa89fbc4e8653edf1bb3229ba0d.tar.gz
bcm5719-llvm-37cd6cfba2e92fa89fbc4e8653edf1bb3229ba0d.zip
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
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud