| ... | @@ -153,7 +153,7 @@ pub const Node = extern union { | ... | @@ -153,7 +153,7 @@ pub const Node = extern union { |
| 153 | div_exact, | 153 | div_exact, |
| 154 | /// @offsetOf(lhs, rhs) | 154 | /// @offsetOf(lhs, rhs) |
| 155 | offset_of, | 155 | offset_of, |
| 156 | /// @splat(lhs, rhs) | 156 | /// @splat(operand) |
| 157 | vector_zero_init, | 157 | vector_zero_init, |
| 158 | /// @shuffle(type, a, b, mask) | 158 | /// @shuffle(type, a, b, mask) |
| 159 | shuffle, | 159 | shuffle, |
| ... | @@ -284,6 +284,7 @@ pub const Node = extern union { | ... | @@ -284,6 +284,7 @@ pub const Node = extern union { |
| 284 | .int_cast, | 284 | .int_cast, |
| 285 | .const_cast, | 285 | .const_cast, |
| 286 | .volatile_cast, | 286 | .volatile_cast, |
| | 287 | .vector_zero_init, |
| 287 | => Payload.UnOp, | 288 | => Payload.UnOp, |
| 288 | | 289 | |
| 289 | .add, | 290 | .add, |
| ... | @@ -334,7 +335,6 @@ pub const Node = extern union { | ... | @@ -334,7 +335,6 @@ pub const Node = extern union { |
| 334 | .div_exact, | 335 | .div_exact, |
| 335 | .offset_of, | 336 | .offset_of, |
| 336 | .helpers_cast, | 337 | .helpers_cast, |
| 337 | .vector_zero_init, | | |
| 338 | => Payload.BinOp, | 338 | => Payload.BinOp, |
| 339 | | 339 | |
| 340 | .integer_literal, | 340 | .integer_literal, |
| ... | @@ -1918,7 +1918,7 @@ fn renderNode(c: *Context, node: Node) Allocator.Error!NodeIndex { | ... | @@ -1918,7 +1918,7 @@ fn renderNode(c: *Context, node: Node) Allocator.Error!NodeIndex { |
| 1918 | }, | 1918 | }, |
| 1919 | .vector_zero_init => { | 1919 | .vector_zero_init => { |
| 1920 | const payload = node.castTag(.vector_zero_init).?.data; | 1920 | const payload = node.castTag(.vector_zero_init).?.data; |
| 1921 | return renderBuiltinCall(c, "@splat", &.{ payload.lhs, payload.rhs }); | 1921 | return renderBuiltinCall(c, "@splat", &.{payload}); |
| 1922 | }, | 1922 | }, |
| 1923 | .field_access => { | 1923 | .field_access => { |
| 1924 | const payload = node.castTag(.field_access).?.data; | 1924 | const payload = node.castTag(.field_access).?.data; |