summaryrefslogtreecommitdiffstats
path: root/tests/experimental
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-06-01 13:53:31 -0700
committerGitHub <noreply@github.com>2023-06-01 13:53:31 -0700
commit16cd361dd67471bcc355d1b3b72b0b022518088f (patch)
treefa3a7d5b77ccf09f9340b78e66610ba8b751c855 /tests/experimental
parenta7ed48b2e6da9bf952aa11ec0d57acf9688bbb0e (diff)
Be lenient on same-size unsigend->signed conversion. (#2913)
* Be lenient on same-size unsigend->signed conversion. * Fix tests. * Use 250. * wip * Fix. * Fix tests. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/experimental')
-rw-r--r--tests/experimental/liveness/liveness.slang.expected2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/experimental/liveness/liveness.slang.expected b/tests/experimental/liveness/liveness.slang.expected
index aadc15d90..fe49e85d1 100644
--- a/tests/experimental/liveness/liveness.slang.expected
+++ b/tests/experimental/liveness/liveness.slang.expected
@@ -47,7 +47,7 @@ int someSlowFunc_0(int a_0)
uint _S5 = v_0 >> 1;
uint _S6 = v_0;
livenessEnd_1(v_0, 0);
- uint _S7 = (_S5 | _S6 << 31) * uint(i_0);
+ uint _S7 = uint(int(_S5 | _S6 << 31) * i_0);
int i_1 = i_0 + 1;
livenessStart_0(v_0, 0);
v_0 = _S7;