mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Remove an unnecessary cast. NFC.
llvm-svn: 373434
This commit is contained in:
parent
e47828a77c
commit
0f9157529a
@ -257,9 +257,8 @@ void DivergencePropagator::computeInfluenceRegion(
|
||||
void DivergencePropagator::exploreDataDependency(Value *V) {
|
||||
// Follow def-use chains of V.
|
||||
for (User *U : V->users()) {
|
||||
Instruction *UserInst = cast<Instruction>(U);
|
||||
if (!TTI.isAlwaysUniform(U) && DV.insert(UserInst).second)
|
||||
Worklist.push_back(UserInst);
|
||||
if (!TTI.isAlwaysUniform(U) && DV.insert(U).second)
|
||||
Worklist.push_back(U);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user