• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips \
2; RUN:   -relocation-model=pic -O3 < %s | FileCheck %s
3
4define i32 @main() {
5entry:
6  %retval = alloca i32, align 4
7  %a = alloca i32, align 4
8  %b = alloca i32, align 4
9  %c = alloca i32, align 4
10  store i32 0, i32* %retval
11  %0 = load i32, i32* %b, align 4
12  %1 = load i32, i32* %c, align 4
13  %xor = xor i32 %0, %1
14  store i32 %xor, i32* %a, align 4
15  ret i32 0
16}
17
18; CHECK: xor16
19