diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-02-22 03:02:41 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-02-22 03:02:41 +0000 |
commit | e54a9ee8ac721a3ebf427f64b598154e1dda917b (patch) | |
tree | 5d0780168c7971640497737c7f269fba46df65cc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1ceabcf080b4e46681554a23273018b15576536c (diff) | |
download | bcm5719-llvm-e54a9ee8ac721a3ebf427f64b598154e1dda917b.tar.gz bcm5719-llvm-e54a9ee8ac721a3ebf427f64b598154e1dda917b.zip |
[PowerPC] Do not produce invalid CTR loop with an FRem
An FRem instruction inside a loop should prevent the loop from being converted
into a CTR loop since this is not an operation that is legal on any PPC
subtarget. This will always be a call to a library function which means the
loop will be invalid if this instruction is in the body.
Fixes PR36292.
llvm-svn: 325739
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions