mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-29 22:52:18 +00:00
IR: Augment debug statements for use-list order
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214155 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
16c0d7e5f8
commit
2c9dac0c3a
@ -66,7 +66,9 @@ static void shuffleValueUseLists(Value *V, std::minstd_rand0 &Gen,
|
||||
for (const Use &U : V->uses()) {
|
||||
auto I = Dist(Gen);
|
||||
Order[&U] = I;
|
||||
DEBUG(dbgs() << " - order: " << I << ", U = "; U.getUser()->dump());
|
||||
DEBUG(dbgs() << " - order: " << I << ", op = " << U.getOperandNo()
|
||||
<< ", U = ";
|
||||
U.getUser()->dump());
|
||||
}
|
||||
|
||||
DEBUG(dbgs() << " => shuffle\n");
|
||||
@ -75,7 +77,8 @@ static void shuffleValueUseLists(Value *V, std::minstd_rand0 &Gen,
|
||||
|
||||
DEBUG({
|
||||
for (const Use &U : V->uses()) {
|
||||
dbgs() << " - order: " << Order.lookup(&U) << ", U = ";
|
||||
dbgs() << " - order: " << Order.lookup(&U)
|
||||
<< ", op = " << U.getOperandNo() << ", U = ";
|
||||
U.getUser()->dump();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user