diff options
author | Kazu Hirata <kazu@google.com> | 2025-04-19 13:21:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-19 13:21:29 -0700 |
commit | 1cf188a1bca6d1ce135eab4cce5dead4f8f55026 (patch) | |
tree | 0c2afd68b4425f551f0b5432f8b6488ab6783175 /mlir/lib/Rewrite/ByteCode.cpp | |
parent | c2d6c7cea7d857f7a9268703e30a7d1ffed7d64b (diff) | |
download | llvm-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.cpp | 3 |
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. |