FailedChanges

Summary

  1. [Test] Precommit test for D69006 (details)
  2. [IndVars] Factor out some common code into a utility function (details)
  3. [ScopBuilder] Fix bug 38358 by preserving correct order of ScopStmts. (details)
  4. [lit] worker.py: Improve code for executing a single test (details)
  5. [lit] Move resolving of XFAIL result codes out of Test.setResult (details)
Commit 3266eac7142c0906fca06c9947e6ddc5f8dd3f6b by listmail
[Test] Precommit test for D69006
llvm-svn: 375190
The file was addedllvm/test/Analysis/ScalarEvolution/umin-umax-folds.ll
Commit 8eaa5b9abab3a358353c3d925b1dd0b3a6ee4b42 by listmail
[IndVars] Factor out some common code into a utility function
As requested in review of D69009
llvm-svn: 375191
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit d72637f5ccc43d457bfe227ccfe2eaa23936a37e by llvm
[ScopBuilder] Fix bug 38358 by preserving correct order of ScopStmts.
ScopBuilder::buildEqivClassBlockStmts creates ScopStmts for instruction
groups in basic block and inserts these ScopStmts into Scop::StmtMap,
however, as described in llvm.org/PR38358, comment #5, StmtScops are
inserted into vector ScopStmt[BB] in wrong order.  As a result,
ScopBuilder::buildSchedule creates wrong order sequence node.
Looking closer to code, it's clear there is no equivalent classes with
interleaving isOrderedInstruction(memory access) instructions after
joinOrderedInstructions.  Afterwards, ScopStmts need to be created and
inserted in the original order of memory access instructions, however,
at the moment ScopStmts are inserted in the order of leader instructions
which are probably not memory access instructions.
The fix is simple with a standalone loop scanning
isOrderedInstruction(memory access) instructions in basic block and
inserting elements into LeaderToInstList one by one.  The patch also
removes double reversing operations which are now unnecessary.
New test preserve-equiv-class-order-in-basic_block.ll is also added.
Differential Revision: https://reviews.llvm.org/D68941
llvm-svn: 375192
The file was modifiedpolly/lib/Analysis/ScopBuilder.cpp
The file was addedpolly/test/ScopInfo/preserve-equiv-class-order-in-basic_block.ll
Commit 13bf5eb1f4e1a19d49cc3bacd99219963765df9e by jlettner
[lit] worker.py: Improve code for executing a single test
llvm-svn: 375194
The file was modifiedllvm/utils/lit/lit/worker.py
Commit a3d2f9b53ac006cb972b61b0dbfcb5babe4356bf by jlettner
[lit] Move resolving of XFAIL result codes out of Test.setResult
This will allow us to serialize just the result object instead of the
whole lit.Test object back from the worker to the main lit process.
llvm-svn: 375195
The file was modifiedllvm/utils/lit/lit/Test.py
The file was modifiedllvm/utils/lit/lit/worker.py