[all-commits] [llvm/llvm-project] d22383: [TableGen] Use getValue instead of getInt for enum...
Mihir Patil via All-commits
all-commits at lists.llvm.org
Wed Jun 25 03:01:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d223832a588880d5704c91ffb60f564f17bebdff
https://github.com/llvm/llvm-project/commit/d223832a588880d5704c91ffb60f564f17bebdff
Author: Mihir Patil <93171064+0xMihir at users.noreply.github.com>
Date: 2025-06-25 (Wed, 25 Jun 2025)
Changed paths:
M mlir/include/mlir/IR/EnumAttr.td
M mlir/test/IR/attribute.mlir
M mlir/test/lib/Dialect/Test/TestEnumDefs.td
M mlir/tools/mlir-tblgen/EnumsGen.cpp
Log Message:
-----------
[TableGen] Use getValue instead of getInt for enum attributes (#144030)
Fixes #144005
getInt is deprecated. We can instead compare APInt for the predicate and
getZExtValue to return the underlying data.
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