diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-09-15 01:56:58 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-09-15 01:56:58 +0000 |
commit | 151493a00fe3a070f03c52efd1e07135a11cf5f7 (patch) | |
tree | 563814febe8c2064d3c070f8f1d09373a198f49e /llvm/docs | |
parent | 75f0f5830b424446fe44048def7e1592b60f1da5 (diff) | |
download | bcm5719-llvm-151493a00fe3a070f03c52efd1e07135a11cf5f7.tar.gz bcm5719-llvm-151493a00fe3a070f03c52efd1e07135a11cf5f7.zip |
[LangRef] Add a clarifying example for undef
llvm-svn: 281570
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/LangRef.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 917a54622a8..e156245394e 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/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 |