-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[SelectionDAG] Use SimplifyDemandedBits from SimplifyDemandedVectorElts Bitcast. #133717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,8 @@ define <2 x i2> @i2x2_splat(i1 %x) { | |
|
||
; CHECK-LABEL: not_a_vec: | ||
; CHECK-NEXT: .functype not_a_vec (i64, i64) -> (v128){{$}} | ||
; CHECK-NEXT: i32.wrap_i64 $push[[L:[0-9]+]]=, $0 | ||
; CHECK-NEXT: i32x4.splat $push[[R:[0-9]+]]=, $pop[[L]] | ||
; CHECK-NEXT: i64x2.splat $push[[L:[0-9]+]]=, $0 | ||
; CHECK-NEXT: i8x16.shuffle $push[[R:[0-9]+]]=, $pop[[L]], $2, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tlively does this break the behavior that this test was intended to check, or is there an issue with the test? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like the test was originally added to show that an assertion was not hit, so it's still correctly showing that after this change. The actual codegen change looks like a regression, but I don't think the test is representative of common patterns, so that's probably fine. LGTM to land the patch from the Wasm point of view. |
||
; CHECK-NEXT: return $pop[[R]] | ||
define <4 x i32> @not_a_vec(i128 %x) { | ||
%a = bitcast i128 %x to <4 x i32> | ||
|
Uh oh!
There was an error while loading. Please reload this page.