aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Rewrite/ByteCode.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-04-19 13:21:29 -0700
committerGitHub <noreply@github.com>2025-04-19 13:21:29 -0700
commit1cf188a1bca6d1ce135eab4cce5dead4f8f55026 (patch)
tree0c2afd68b4425f551f0b5432f8b6488ab6783175 /mlir/lib/Rewrite/ByteCode.cpp
parentc2d6c7cea7d857f7a9268703e30a7d1ffed7d64b (diff)
downloadllvm-1cf188a1bca6d1ce135eab4cce5dead4f8f55026.zip
llvm-1cf188a1bca6d1ce135eab4cce5dead4f8f55026.tar.gz
llvm-1cf188a1bca6d1ce135eab4cce5dead4f8f55026.tar.bz2
[mlir] Use llvm::SmallVector::pop_back_val() (NFC) (#136452)
Diffstat (limited to 'mlir/lib/Rewrite/ByteCode.cpp')
-rw-r--r--mlir/lib/Rewrite/ByteCode.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mlir/lib/Rewrite/ByteCode.cpp b/mlir/lib/Rewrite/ByteCode.cpp
index 26510f9..17cb3a7 100644
--- a/mlir/lib/Rewrite/ByteCode.cpp
+++ b/mlir/lib/Rewrite/ByteCode.cpp
@@ -1198,8 +1198,7 @@ private:
/// Pops a code iterator from the stack, returning true on success.
void popCodeIt() {
assert(!resumeCodeIt.empty() && "attempt to pop code off empty stack");
- curCodeIt = resumeCodeIt.back();
- resumeCodeIt.pop_back();
+ curCodeIt = resumeCodeIt.pop_back_val();
}
/// Return the bytecode iterator at the start of the current op code.