llvm-project
[mlir][arith] Add `exact` to `index_cast{,ui}`
#183395
Merged

[mlir][arith] Add `exact` to `index_cast{,ui}` #183395

amd-eochoalo
amd-eochoalo [mlir][arith] Add nneg to index_castui.
e3299751
amd-eochoalo [mlir][arith] Add ArithExactFlagInterface.
d6ee09ab
amd-eochoalo [mlir][arith] Add exact attribute to index_cast{,ui}
8123bdca
amd-eochoalo [mlir][arith] Add roundtrip tests
d6248021
amd-eochoalo [mlir][arith] Update patterns and canonicalization tests
3d2aa546
amd-eochoalo [mlir][arith] Update lowerings for index_cast
f10aaa23
krzysz00
krzysz00 commented on 2026-02-25
amd-eochoalo Address comments
74797e1d
amd-eochoalo Merge branch 'main' into eochoa/2026-02-25/arith-index-exact
25cf6d55
amd-eochoalo amd-eochoalo marked this pull request as ready for review 82 days ago
amd-eochoalo amd-eochoalo requested a review from kuhar kuhar 82 days ago
llvmbot llvmbot added mlir
llvmbot llvmbot added mlir:arith
llvmbot
kuhar
kuhar commented on 2026-02-26
amd-eochoalo Fixes
78131ba0
amd-eochoalo Example in other direction
fed324e4
amd-eochoalo Reword semantics
04036558
amd-eochoalo amd-eochoalo requested a review from krzysz00 krzysz00 81 days ago
amd-eochoalo amd-eochoalo requested a review from kuhar kuhar 81 days ago
kuhar
kuhar approved these changes on 2026-02-26
amd-eochoalo Use static cast
b2b8392b
krzysz00
krzysz00 approved these changes on 2026-02-27
amd-eochoalo amd-eochoalo merged 7ad2c6db into main 80 days ago
vzakhari
vzakhari commented on 2026-02-28
razvanlupusoru
razvanlupusoru commented on 2026-03-03

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone