From 151493a00fe3a070f03c52efd1e07135a11cf5f7 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Thu, 15 Sep 2016 01:56:58 +0000 Subject: [LangRef] Add a clarifying example for undef llvm-svn: 281570 --- llvm/docs/LangRef.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/docs/LangRef.rst') 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 -- cgit v1.2.3