Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/test/CodeGen/X86/combine-and.ll | ||
---|---|---|
516 | Don't edit these - just use that the SSE codegen from the update script. | |
543 | It would be good is to have at least one testcase where the and is behind a bitcast - since _mm_and_si128() will insert bitcasts to <2 x i64> we'll probably see this pattern: define <2 x i64> @neg_scalar_broadcast_i8(i8 %a0, <2 x i64> %a1) { %1 = xor i8 %a0, -1 %2 = insertelement <16 x i8> undef, i8 %1, i64 0 %3 = shufflevector <16 x i8> %2, <16 x i8> poison, <16 x i32> zeroinitializer %4 = bitcast <16 x i8> %3 to <2 x i64> %5 = and <2 x i64> %4, %a1 ret <2 x i64> %5 } |
Comment Actions
Please can you update this patch so its open for review? Its still flagged as a draft.
Comment Actions
OK, I see the problem. You put them in a upside down order. You should base this patch on tip of trunk, then base D138521 on this.
Don't edit these - just use that the SSE codegen from the update script.