mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
simplify these patterns using m_Specific. No need to grep for
xor in testcase (or is a substring). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {and i32 %y, %x} | count 2
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {and i32 %x, %y} | count 2
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {xor}
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {and i32 %x, %y} | count 4
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {or}
|
||||
|
||||
define i32 @func1(i32 %x, i32 %y) nounwind {
|
||||
|
||||
Reference in New Issue
Block a user