[all-commits] [llvm/llvm-project] ad315e: [MLIR][NFC]Fix unusued variable warning. (#97813)
Mats Petersson via All-commits
all-commits at lists.llvm.org
Tue Jul 9 02:35:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad315ebfee626dbd472b9d68a76632f9e68bc8f5
https://github.com/llvm/llvm-project/commit/ad315ebfee626dbd472b9d68a76632f9e68bc8f5
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Log Message:
-----------
[MLIR][NFC]Fix unusued variable warning. (#97813)
This just changes a dyn_cast to and isa call to check for type, which
avoids getting a warning in clang. The variable `ity` is not used in the
next block.
No functional change.
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