diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-10-31 22:12:37 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-10-31 22:12:37 +0000 |
commit | e1aa782bd073925dae4c3069e396bdd77e2199a1 (patch) | |
tree | 30ac281c976b9b90ae7049c89ee184e4f9a0dfd0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 002af9bbcec16fea530d161b23cc2589fe0798b7 (diff) | |
download | bcm5719-llvm-e1aa782bd073925dae4c3069e396bdd77e2199a1.tar.gz bcm5719-llvm-e1aa782bd073925dae4c3069e396bdd77e2199a1.zip |
CodeGen: further loosen -O0 CG for WoA division
Generate the slowest possible codepath for noopt CodeGen. Even trying to be
clever with the negated jump can cause out-of-range jumps. Use a wide branch
instead. Although the code is modelled simplistically, the later optimizations
would recombine the branching into `cbz` if possible. This re-enables the
previous optimization as well as hopefully gives us working code in all cases.
Addresses PR30356!
llvm-svn: 285649
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions