commit | 634abdc95e30b1e0efa2d64b821c1caed704895b | [log] [tgz] |
---|---|---|
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Thu Feb 22 03:02:41 2018 +0000 |
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Thu Feb 22 03:02:41 2018 +0000 |
tree | cabb0b77ade9ea012ebb6a750244531e6e1cf387 | |
parent | e088ad8d0ccb495ca725346975ccca21f2aa497b [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325739 91177308-0d34-0410-b5e6-96231b3b80d8