<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 26, 2015, at 4:44 PM, Pete Cooper <<a href="mailto:peter_cooper@apple.com" class="">peter_cooper@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Philip<div class=""><br class=""></div><div class="">This is an offshoot of the conversation we had here: <a href="http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150824/295815.html" class="">http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150824/295815.html</a></div><div class=""><br class=""></div><div class="">The attached patch make sure that we only add nonnull attributes to globals in address space 0.  Other address spaces may or may not permit a global to live at address 0, but we have to assume that they might.</div></div></div></blockquote><div><br class=""></div><div>Isn’t something that should be target configurable? Any reason for not having TTI with a default behavior which would be the current one, but that targets could customize?</div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div></div></body></html>