summaryrefslogtreecommitdiff
path: root/chapter05/README.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-09-22 16:02:08 -0700
committerCliff Click <cliffc@acm.org>2026-09-22 16:02:08 -0700
commit695429df954b084d2226fe2a6c1a47e1861bcc01 (patch)
tree5ee6fb3eb2b71b92cef509c28b7dfbeceea044cb /chapter05/README.md
parentfb80ada35ce2806c2f617a0e336d2ca4ab1d5d12 (diff)
downloadSimple-695429df954b084d2226fe2a6c1a47e1861bcc01.tar.gz
Simple-695429df954b084d2226fe2a6c1a47e1861bcc01.zip
int fallbacks for int ops
all chapters, a little sharper for int ops
Diffstat (limited to 'chapter05/README.md')
-rw-r--r--chapter05/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter05/README.md b/chapter05/README.md
index 7337da33..2732066e 100644
--- a/chapter05/README.md
+++ b/chapter05/README.md
@@ -83,6 +83,10 @@ one for each of the control inputs to that `Region`. The result computed by a
control input to the `Region` can be active at a time, and the `Phi` passes
through the data value from the matching input.[^1]
+Its type is the meet of its data-input types. Two different integer constants
+merge to `TypeInteger.BOT`: the value is unknown, but it is still an integer.
+Integer arithmetic likewise retains an integer result type when it cannot fold.
+
#### `RegionNode`
In this Sea of Nodes, there is an embedded Control Flow Graph - and like a