diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-04-09 14:30:11 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-04-09 14:30:11 +0000 |
commit | b3410db2b7dfd9ccec9d782b74477a1d0a2febad (patch) | |
tree | 378b99faccb0e38b0f154462b1d3b1896019d283 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | cc05ee52424fdab29984da46c026768311509c9d (diff) | |
download | llvm-b3410db2b7dfd9ccec9d782b74477a1d0a2febad.zip llvm-b3410db2b7dfd9ccec9d782b74477a1d0a2febad.tar.gz llvm-b3410db2b7dfd9ccec9d782b74477a1d0a2febad.tar.bz2 |
[FIX] Do not recompute SCEVs but pass them to subfunctions
This reverts commit 2879c53e80e05497f408f21ce470d122e9f90f94.
Additionally, it adds SDiv and SRem instructions to the set of values
discovered by the findValues function even if we add the operands to
be able to recompute the SCEVs. In subfunctions we do not want to
recompute SDiv and SRem instructions but pass them instead as they
might have been created through the IslExprBuilder and are more
complicated than simple SDiv/SRem instructions in the code.
llvm-svn: 265873
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions