[all-commits] [llvm/llvm-project] 405af8: [mlir] Make bit enum operators constexpr
Krzysztof Drewniak via All-commits
all-commits at lists.llvm.org
Tue Sep 6 10:40:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 405af8e520ecf3061b64891e8147ea7d9603b89a
https://github.com/llvm/llvm-project/commit/405af8e520ecf3061b64891e8147ea7d9603b89a
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M mlir/tools/mlir-tblgen/EnumsGen.cpp
Log Message:
-----------
[mlir] Make bit enum operators constexpr
This allows using the | operator on the values of enum attributes
in complie-time constants.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D133159
More information about the All-commits
mailing list