diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-09-07 20:01:38 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-09-07 20:01:38 +0000 |
| commit | 6e27b3e0041802907194e6e4a00ac038d603759f (patch) | |
| tree | 0e295f429fa43dea5e9106c0b53956c925cbbf80 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
| parent | 5444b36e014d7d518b832a9e41153487d53b358a (diff) | |
| download | bcm5719-llvm-6e27b3e0041802907194e6e4a00ac038d603759f.tar.gz bcm5719-llvm-6e27b3e0041802907194e6e4a00ac038d603759f.zip | |
Fix a serious performance regression introduced by r108687 on linux:
turning (fptrunc (sqrt (fpext x))) -> (sqrtf x) is great, but we have
to delete the original sqrt as well. Not doing so causes us to do
two sqrt's when building with -fmath-errno (the default on linux).
llvm-svn: 113260
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions

