1 ; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
2 ; RUN: llc %s -pass-remarks-missed=gisel* -mtriple=aarch64-none-linux-gnu -global-isel -o - 2>&1 | FileCheck %s
6 ; Check that the eon instruction is generated instead of eor,movn
7 define i64 @test1(i64 %a, i64 %b, i64 %c) {
14 %xor = xor i64 %shl, %neg
18 ; Same check with mutliple uses of %neg
19 define i64 @test2(i64 %a, i64 %b, i64 %c) {
27 %neg = xor i64 %shl, -1
28 %xor = xor i64 %neg, %a
29 %xor1 = xor i64 %c, %neg
30 %shl2 = shl i64 %xor, %xor1