ISLE: Allow shadowing in let expressions (#4562)
* Support shadowing in isle * Re-run the isle build.rs if the examples change * Print error messages when isle tests fail * Move run tests * Refactor `let` uses that don't need to introduce unique names
This commit is contained in:
@@ -1492,19 +1492,19 @@
|
||||
(rule (make_i64x2_from_lanes lo hi)
|
||||
(let ((dst_xmm WritableXmm (temp_writable_xmm))
|
||||
(dst_reg WritableReg dst_xmm)
|
||||
(_0 Unit (emit (MInst.XmmUninitializedValue dst_xmm)))
|
||||
(_1 Unit (emit (MInst.XmmRmRImm (SseOpcode.Pinsrd)
|
||||
dst_reg
|
||||
lo
|
||||
dst_reg
|
||||
0
|
||||
(OperandSize.Size64))))
|
||||
(_2 Unit (emit (MInst.XmmRmRImm (SseOpcode.Pinsrd)
|
||||
dst_reg
|
||||
hi
|
||||
dst_reg
|
||||
1
|
||||
(OperandSize.Size64)))))
|
||||
(_ Unit (emit (MInst.XmmUninitializedValue dst_xmm)))
|
||||
(_ Unit (emit (MInst.XmmRmRImm (SseOpcode.Pinsrd)
|
||||
dst_reg
|
||||
lo
|
||||
dst_reg
|
||||
0
|
||||
(OperandSize.Size64))))
|
||||
(_ Unit (emit (MInst.XmmRmRImm (SseOpcode.Pinsrd)
|
||||
dst_reg
|
||||
hi
|
||||
dst_reg
|
||||
1
|
||||
(OperandSize.Size64)))))
|
||||
dst_xmm))
|
||||
|
||||
;; Move a `RegMemImm.Reg` operand to an XMM register, if necessary.
|
||||
|
||||
Reference in New Issue
Block a user