<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 04/24/2017 01:55 PM, Andrew Kelley via llvm-dev wrote:<br>
<blockquote
cite="mid:CACXN+=SiF-j2a5eQ4TceCJv7Px8_QRfT9MvOLRzwpJRXz4C8Fg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>I see, thanks. Would a patch be welcome which changed
this behavior? Or I suppose I could emit zeroinitializer
instead of undef. But it seems like undef is the more
correct value.</div>
</div>
</div>
</div>
</blockquote>
<br>
Are you producing these undef values yourself (in a pass/fronted)?
Can you elaborate a little on why you think "undef" is the correct
value? Inside LLVM, undef essentially means "any value we choose".
The language reference has a section on this. It would be entirely
correct if we emitted all 1s instead of all 0s for undef. If you
really want it to be .bss, zeroinitializer seems to be the better
choice.<br>
<br>
Tobias<br>
<pre class="moz-signature" cols="72">--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.
</pre>
</body>
</html>