From: Sanjoy Das Date: Thu, 15 Sep 2016 01:56:58 +0000 (+0000) Subject: [LangRef] Add a clarifying example for undef X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81598633a405533751ab02d2265c4f4b601fbd18;p=llvm [LangRef] Add a clarifying example for undef git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281570 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 917a54622a8..e156245394e 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -2834,6 +2834,9 @@ bits. Any output bit can have a zero or one depending on the input bits. Safe: %A = -1 %B = 0 + Safe: + %A = %X ;; By choosing undef as 0 + %B = %X ;; By choosing undef as -1 Unsafe: %A = undef %B = undef