[clang] [llvm] [DirectX] Add support for VectorReduce update Any\All to use it (PR #224745)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 18 17:54:09 PDT 2026


farzonl wrote:

Moving back to draft https://discourse.llvm.org/t/rfc-make-instcombine-not-pack-logical-reductions-into-undesirable-integer-types-by-default/91863

The PR needs the change mentioned in the rfc othwise we do not pass validation because of the introduction of ints of unusual sizes.

```
  OffloadTest-clang-mtl :: Feature/HLSLLib/all.32.test
  OffloadTest-clang-mtl :: Feature/HLSLLib/all.fp16.test
  OffloadTest-clang-mtl :: Feature/HLSLLib/all.int16.test
  OffloadTest-clang-mtl :: Feature/HLSLLib/all.int64.test
  OffloadTest-clang-mtl :: Feature/HLSLLib/any.32.test
  OffloadTest-clang-mtl :: Feature/HLSLLib/any.fp16.test
  OffloadTest-clang-mtl :: Feature/HLSLLib/any.int16.test
  OffloadTest-clang-mtl :: Feature/HLSLLib/any.int64.test
```

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


More information about the cfe-commits mailing list