1
0
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:
Jay Foad 2019-10-02 08:56:33 +00:00
parent e47828a77c
commit 0f9157529a

View File

@ -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);
}
}