commit | 87b51bc2b0e9bced27d6fd95573a3f21691a261c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Sep 10 21:15:22 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Sep 10 21:15:22 2007 +0000 |
tree | 95035c96425823dbd3ff8574f2611659fe8043a9 | |
parent | 8d9455d4e4f63c368f17b74a36b472fc61685310 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41805 91177308-0d34-0410-b5e6-96231b3b80d8