diff options
Diffstat (limited to 'llvm/tools/llvm-mca/lib/Instruction.cpp')
| -rw-r--r-- | llvm/tools/llvm-mca/lib/Instruction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-mca/lib/Instruction.cpp b/llvm/tools/llvm-mca/lib/Instruction.cpp index 0c847670557..7acb31665e5 100644 --- a/llvm/tools/llvm-mca/lib/Instruction.cpp +++ b/llvm/tools/llvm-mca/lib/Instruction.cpp @@ -133,7 +133,7 @@ void Instruction::execute() { void Instruction::update() { assert(isDispatched() && "Unexpected instruction stage found!"); - if (!llvm::all_of(Uses, [](const UniqueUse &Use) { return Use->isReady(); })) + if (!all_of(Uses, [](const UniqueUse &Use) { return Use->isReady(); })) return; // A partial register write cannot complete before a dependent write. @@ -147,7 +147,7 @@ void Instruction::update() { return true; }; - if (llvm::all_of(Defs, IsDefReady)) + if (all_of(Defs, IsDefReady)) Stage = IS_READY; } |

