aboutsummaryrefslogtreecommitdiffhomepage
path: root/buildcache.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-04-25 11:21:14 +0200
committerRon Evans <[email protected]>2019-04-26 09:17:52 +0200
commit9a3d0683b34f9f030e1d0323bea849d56054cdec (patch)
tree5776a2a028b6c36d784245cfe7c433cf577a286d /buildcache.go
parentd155e31b64b67305058ce9710912e6ca0d22a2a4 (diff)
downloadtinygo-9a3d0683b34f9f030e1d0323bea849d56054cdec.tar.gz
tinygo-9a3d0683b34f9f030e1d0323bea849d56054cdec.zip
compiler: mark all GEPs as inbounds
In Go, it is not possible to construct pointers that are out of bounds (and not null), so let LLVM know about this fact. This leads to a significant code size reduction, around 3% in many cases.
Diffstat (limited to 'buildcache.go')
0 files changed, 0 insertions, 0 deletions