22 lines · plain
1; RUN: llc -O2 -mtriple=bpfel -mattr=+alu32 < %s | FileCheck %s2; RUN: llc -O2 -mtriple=bpfel -mcpu=v3 < %s | FileCheck %s3; RUN: llc -O2 -mtriple=bpfeb -mattr=+alu32 < %s | FileCheck %s4; RUN: llc -O2 -mtriple=bpfeb -mcpu=v3 < %s | FileCheck %s5;6; long zext(unsigned int a)7; {8; long b = a;9; return b;10; }11 12; Function Attrs: norecurse nounwind13define dso_local i64 @zext(i32 %a) local_unnamed_addr #0 {14entry:15 %conv = zext i32 %a to i6416 ; CHECK-NOT: r[[#]] <<= 3217 ; CHECK-NOT: r[[#]] >>= 3218 ret i64 %conv19}20 21attributes #0 = { norecurse nounwind }22