[llvm-commits] [llvm] r169345 - /llvm/trunk/test/Transforms/InstCombine/xor2.ll

Shuxin Yang shuxin.llvm at gmail.com
Tue Dec 4 16:33:16 PST 2012


Author: shuxin_yang
Date: Tue Dec  4 18:33:16 2012
New Revision: 169345

URL: http://llvm.org/viewvc/llvm-project?rev=169345&view=rev
Log:
fix a typo

Modified:
    llvm/trunk/test/Transforms/InstCombine/xor2.ll

Modified: llvm/trunk/test/Transforms/InstCombine/xor2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/xor2.ll?rev=169345&r1=169344&r2=169345&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/xor2.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/xor2.ll Tue Dec  4 18:33:16 2012
@@ -72,7 +72,7 @@
 ; only bits from X or Y are demanded.
 ; e.g. the "x ^ 1234" can be optimized into x in the context of "t >> 16".
 ;  Put in other word, t >> 16 -> x >> 16.
-; unsigned foo(unsigned x) { nsigned t = x ^ 1234; ;  return (t >> 16) + t;}
+; unsigned foo(unsigned x) { unsigned t = x ^ 1234; ;  return (t >> 16) + t;}
 define i32 @test6(i32 %x) {
   %xor = xor i32 %x, 1234
   %shr = lshr i32 %xor, 16





More information about the llvm-commits mailing list