[llvm] 640f1e0 - [InstCombine][NFC] Update comment in and-xor-or.ll

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 17:08:18 PDT 2022


Author: Alexander Shaposhnikov
Date: 2022-05-05T00:07:49Z
New Revision: 640f1e0829597d1484c8c90244ba01f4c52d53ad

URL: https://github.com/llvm/llvm-project/commit/640f1e0829597d1484c8c90244ba01f4c52d53ad
DIFF: https://github.com/llvm/llvm-project/commit/640f1e0829597d1484c8c90244ba01f4c52d53ad.diff

LOG: [InstCombine][NFC] Update comment in and-xor-or.ll

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/and-xor-or.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/and-xor-or.ll b/llvm/test/Transforms/InstCombine/and-xor-or.ll
index 36c22207a2a44..fbfc072550b0d 100644
--- a/llvm/test/Transforms/InstCombine/and-xor-or.ll
+++ b/llvm/test/Transforms/InstCombine/and-xor-or.ll
@@ -168,7 +168,7 @@ define i64 @or2(i64 %x, i64 %y) {
   ret i64 %3
 }
 
-; ((x & y) + z) | y -> (z | y)
+; ((x & y) ^ z) | y -> (z | y)
 
 define i64 @and_xor_or1(i64 %px, i64 %py, i64 %pz) {
 ; CHECK-LABEL: @and_xor_or1(


        


More information about the llvm-commits mailing list