llvm-6502/lib/Transforms
Chandler Carruth 66ea2f9986 Fix non-determinism introduced in r168970 and pointed out by Duncan.
We're iterating over a non-deterministically ordered container looking
for two saturating flags. To do this correctly, we have to saturate
both, and only stop looping if both saturate to their final value.
Otherwise, which flag we see first changes the result.

This is also a micro-optimization of the previous version as now we
don't go into the (possibly expensive) test logic once the first
violation of either constraint is detected.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168989 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-30 09:34:29 +00:00
..
Hello
InstCombine Move library call simplification statistic to instcombine 2012-11-30 04:05:06 +00:00
Instrumentation Move the InstVisitor utility into VMCore where it belongs. It heavily 2012-11-30 03:08:41 +00:00
IPO No need to run LICM after loop vectorization because we dont generate invariant code any more. 2012-11-29 19:28:29 +00:00
Scalar Move library call simplification statistic to instcombine 2012-11-30 04:05:06 +00:00
Utils Fix non-determinism introduced in r168970 and pointed out by Duncan. 2012-11-30 09:34:29 +00:00
Vectorize When broadcasting invariant scalars into vectors, place the broadcast code in the preheader. 2012-11-29 19:25:41 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile