1 ; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
3 ; Check that the eon instruction is generated instead of eor,movn
4 define i64 @test1(i64 %a, i64 %b, i64 %c) {
11 %xor = xor i64 %shl, %neg
15 ; Same check with mutliple uses of %neg
16 define i64 @test2(i64 %a, i64 %b, i64 %c) {
24 %neg = xor i64 %shl, -1
25 %xor = xor i64 %neg, %a
26 %xor1 = xor i64 %c, %neg
27 %shl2 = shl i64 %xor, %xor1