[Mlir-commits] [mlir] [MLIR][ArithToSPIRV] Guard NoSignedWrap/NoUnsignedWrap behind extension/version check (PR #189061)

Mehdi Amini llvmlistbot at llvm.org
Tue Mar 31 04:35:52 PDT 2026


joker-eph wrote:

This is why I asked when opening the PR before implementing something we could:

- silently drop when the target environment does not support them (should be semantically correct)
- add an option to the lowering to control the behavior
- add a pass removing these flags that the driver should add before the lowering when the environment does not support them

I would think the first option is reasonable, but I could go with the other as well. I'd just rather get some agreement before implementing it :) 

https://github.com/llvm/llvm-project/pull/189061


More information about the Mlir-commits mailing list