mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Change cast and int rules: constant folding always starts. Promotion using left side on all operands to bit width. Implicit narrowing to max size on right hand side.
This commit is contained in:
committed by
Christoffer Lerno
parent
8a7f37e4d3
commit
07595df412
@@ -31,6 +31,6 @@ if.exit:
|
||||
|
||||
unreachable_block:
|
||||
%2 = load i32, i32* %x
|
||||
%add = add nsw i32 %2, 1
|
||||
%add = add i32 %2, 1
|
||||
store i32 %add, i32* %x
|
||||
ret void
|
||||
|
||||
Reference in New Issue
Block a user