diff options
author | Paul Robinson <paul_robinson@playstation.sony.com> | 2013-11-22 19:11:24 +0000 |
---|---|---|
committer | Paul Robinson <paul_robinson@playstation.sony.com> | 2013-11-22 19:11:24 +0000 |
commit | d89125a5d8827b3f427a14ad5fe7e190b7cee3cd (patch) | |
tree | 4abd751001fe27be9bca4261e1988dc82ca0bed5 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 059e800fdaf414725a3777c4a16fcb71c38bddf7 (diff) | |
download | bcm5719-llvm-d89125a5d8827b3f427a14ad5fe7e190b7cee3cd.tar.gz bcm5719-llvm-d89125a5d8827b3f427a14ad5fe7e190b7cee3cd.zip |
Teach ISel not to optimize 'optnone' functions (revised).
Improvements over r195317:
- Set/restore EnableFastISel flag instead of just running FastISel within
SelectAllBasicBlocks; the flag is checked in various places, and
FastISel won't run properly if those places don't do the right thing.
- Test looks for normal ISel versus FastISel behavior, and not
something more subtle that doesn't work everywhere.
Based on work by Andrea Di Biagio.
llvm-svn: 195491
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions