Skip to content

Conversation

@againull
Copy link
Contributor

  • Enable constant propagation for stream manipulators
  • Enable LIT test on all devices except CPU
  • Remove unused builtins.hpp include

Signed-off-by: Artur Gainullin artur.gainullin@intel.com

  * Enable constant propagation for stream manipulators
  * Enable LIT test on all devices except CPU
  * Remove unused builtins.hpp include

Signed-off-by: Artur Gainullin <artur.gainullin@intel.com>
@againull againull requested a review from romanovvlad June 26, 2019 20:52
@bader bader merged commit f0491f0 into intel:sycl Jun 27, 2019
vladimirlaz pushed a commit to vladimirlaz/llvm that referenced this pull request Oct 25, 2019
@againull againull deleted the followup_fixes branch December 3, 2022 00:02
iclsrc pushed a commit that referenced this pull request Apr 6, 2024
…ndling (#76644)

Fold BICi if all destination bits are already known to be zeroes

```llvm
define <8 x i16> @haddu_known(<8 x i8> %a0, <8 x i8> %a1) {
  %x0 = zext <8 x i8> %a0 to <8 x i16>
  %x1 = zext <8 x i8> %a1 to <8 x i16>
  %hadd = call <8 x i16> @llvm.aarch64.neon.uhadd.v8i16(<8 x i16> %x0, <8 x i16> %x1)
  %res = and <8 x i16> %hadd, <i16 511, i16 511, i16 511, i16 511,i16 511, i16 511, i16 511, i16 511>
  ret <8 x i16> %res
}
declare <8 x i16> @llvm.aarch64.neon.uhadd.v8i16(<8 x i16>, <8 x i16>)
```

```
haddu_known:                            // @haddu_known
        ushll   v0.8h, v0.8b, #0
        ushll   v1.8h, v1.8b, #0
        uhadd   v0.8h, v0.8h, v1.8h
        bic     v0.8h, #254, lsl #8 <-- this one will be removed as we know high bits are zero extended
        ret
```

Fixes #53881
Fixes #53622
coldav pushed a commit to coldav/llvm that referenced this pull request Aug 22, 2025
[vecz] Provide more context when CFG conversion fails
coldav pushed a commit to coldav/llvm that referenced this pull request Aug 26, 2025
[vecz] Provide more context when CFG conversion fails
coldav pushed a commit to coldav/llvm that referenced this pull request Aug 29, 2025
[vecz] Provide more context when CFG conversion fails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants