diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-12-11 05:52:24 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-12-11 05:52:24 +0000 |
commit | 0aeb40f69be984e90678b7ab6e3563545cc57f37 (patch) | |
tree | 3a9cc1f5469b5c8d720f4308ed9cd12dd49fa4ee /lib/CodeGen/BackendUtil.cpp | |
parent | 1d28caf3b5254e60d3e3a1d2d37e5df2e5924111 (diff) |
Add tests for a corner case of when to relax all instructions:
We don't want to relax all instructions in
$ clang -c test.s
since most users don't pass -O when using the driver to assemble.
On the other hand, -save-temps should not change the output unnecessary, so in
$ clang -c test.c -save-temps
we should relax all instructions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions