diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-09-10 21:15:22 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-09-10 21:15:22 +0000 |
| commit | 33a7f51412029e0a86cab2ed5bc261b0c6179352 (patch) | |
| tree | c5bfbe5fe12b0703404e358400f8e6523c6f01a8 /llvm/lib/CodeGen/MachinePassRegistry.cpp | |
| parent | c75cbe6473d7be8c6eab57c1652394fbc57d9dd3 (diff) | |
| download | bcm5719-llvm-33a7f51412029e0a86cab2ed5bc261b0c6179352.tar.gz bcm5719-llvm-33a7f51412029e0a86cab2ed5bc261b0c6179352.zip | |
1. Don't call Value::getName(), which is slow.
2. Lower calls to fabs and friends to FABS nodes etc unless the function has
internal linkage. Before we wouldn't lower if it had a definition, which
is incorrect. This allows us to compile:
define double @fabs(double %f) {
%tmp2 = tail call double @fabs( double %f )
ret double %tmp2
}
into:
_fabs:
fabs f1, f1
blr
llvm-svn: 41805
Diffstat (limited to 'llvm/lib/CodeGen/MachinePassRegistry.cpp')
0 files changed, 0 insertions, 0 deletions

