[all-commits] [llvm/llvm-project] 87d198: [mlir][spirv] Avoid copies of local APInt values i...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Mon Sep 7 13:57:41 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87d1986bd2264b434e865044745725efbf52dda5
https://github.com/llvm/llvm-project/commit/87d1986bd2264b434e865044745725efbf52dda5
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2026-09-07 (Mon, 07 Sep 2026)
Changed paths:
M mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.cpp
Log Message:
-----------
[mlir][spirv] Avoid copies of local APInt values in folds (NFC) (#221084)
Move locally constructed APInt values into arithmetic operations at
their last use. Expand conditional returns where needed so returning a
local can use implicit move construction.
Found by Coverity.
Assisted-by: Codex
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list