summary refs log tree commit diff
path: root/doc/llvm.txt
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-09-19 16:33:43 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2020-10-05 21:21:01 +0200
commit496c069405cd79aed968f59dd5a5f92d1f96809f (patch)
tree64fe4259b05a39b8915b6459e5b3cc84e1191477 /doc/llvm.txt
parent5e5e301e866e1eeb4523b9ecae6a2a327c019a08 (diff)
downloadroux-496c069405cd79aed968f59dd5a5f92d1f96809f.tar.gz
fold: zero-initialize padding bits of constants
Otherwise, if a constant is stored as a float and retrieved as an
int, the padding bits are uninitialized. This can result in the
generation of invalid assembly:

  Error: suffix or operands invalid for `cvtsi2ss'

Reported by Hiltjo Posthuma.
Diffstat (limited to 'doc/llvm.txt')
0 files changed, 0 insertions, 0 deletions