[llvm-dev] RFC: Killing undef and spreading poison

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 18 13:07:26 PDT 2016


On 10/18/2016 2:25 PM, Nuno Lopes via llvm-dev wrote:
> Right, a load touching a single uninitialized bit results in poison.
> The trick is that on the first bitfield write, all the remaining
> untouched fields become initialized (with an arbitrary value, though).
> Essentially we are making the adjacent bitfields undef.

So "undef" still exists, except now it's obtainable via "freeze(poison)"?

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list