[x86 & wasm] Split up double saturating-narrows from i32#7280
[x86 & wasm] Split up double saturating-narrows from i32#7280
Conversation
|
https://buildbot.halide-lang.org/master/#/builders/42/builds/693 looks like perhaps a real failure |
steven-johnson
left a comment
There was a problem hiding this comment.
https://buildbot.halide-lang.org/master/#/builders/42/builds/693 looks like a problem
|
@steven-johnson I see the same failure on #7279 , so I don't think either PR is responsible for the failure |
great, it's probably another LLVM injection :-/ Let me try to confirm that first |
|
The predicated-load failure isn't happening for me locally with top-of-tree LLVM, so maybe it's a temporary flake; I'm forcing rebuilds on the x64 bots to see if it recurs |
|
Only failing test appears unrelated. @steven-johnson think it’s good to go? |
|
Failure is vectorized_gpu_allocation, which I've never seen before as a flake or even an ordinary failure, so let me retry it just a bit first. |
|
The failure is now in our old friend, correctness_atomics, aka "Mr. Flaky", so I think we're good to go |
* better x86 double sat-cast + add test * fix wasm too + test Co-authored-by: Steven Johnson <srj@google.com>
We can get much better codegen for double saturating narrows from i32 on x86 and wasm. HVX and ARM backends both already do this. Also added tests to simd_op_check
Fixes #7069
Here's an example from x86 (wasm is similar):
Previously:
Now: