aboutsummaryrefslogtreecommitdiff
path: root/llvm/test
diff options
context:
space:
mode:
authorJakub Kuderski <kubak@google.com>2023-05-02 10:41:05 -0400
committerJakub Kuderski <kubak@google.com>2023-05-02 10:44:29 -0400
commit46740dd02babfc47edd9f8fdb03479ad61223246 (patch)
treed73f4785181bf03b3b38d6d1ec780d75955eca57 /llvm/test
parent707b6e94b88a5bac96157d03756f359060458d08 (diff)
downloadllvm-46740dd02babfc47edd9f8fdb03479ad61223246.zip
llvm-46740dd02babfc47edd9f8fdb03479ad61223246.tar.gz
llvm-46740dd02babfc47edd9f8fdb03479ad61223246.tar.bz2
[mlir][arith] Add narrowing patterns for subi, divsi, and divui
Each of these ops is compatible with only one extension kind and produces an extra result bit. I checked these transformation in Alive2: 1. subi + extsi: https://alive2.llvm.org/ce/z/ipmZZA 2. divsi + extsi: https://alive2.llvm.org/ce/z/fAcqUv 3. divui + extui: https://alive2.llvm.org/ce/z/QZJpFp Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D149531
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions