mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 03:53:42 +00:00
compiler: handle nested unsigned shift being untyped after type resolution (#5497)
* apply compiler patch for fix of #5496 * add compiler/testdata smoketest * make diff error more explicit on difference * apply golden fix
This commit is contained in:
Vendored
+7
@@ -176,6 +176,13 @@ entry:
|
||||
ret { float, float } %3
|
||||
}
|
||||
|
||||
; Function Attrs: nounwind
|
||||
define hidden i64 @main.shiftNested(i64 %x, ptr %context) unnamed_addr #1 {
|
||||
entry:
|
||||
%0 = lshr i64 %x, 8
|
||||
ret i64 %0
|
||||
}
|
||||
|
||||
; Function Attrs: nounwind
|
||||
define hidden { float, float } @main.complexMul(float %x.r, float %x.i, float %y.r, float %y.i, ptr %context) unnamed_addr #1 {
|
||||
entry:
|
||||
|
||||
Reference in New Issue
Block a user