summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll')
-rw-r--r--llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll b/llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
index d4590bb8a59..c88454f0a1f 100644
--- a/llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
+++ b/llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
@@ -1,5 +1,7 @@
; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s
; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s
+; RUN: llc -march=bpfel -mattr=+alu32 -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s
+; RUN: llc -march=bpfeb -mattr=+alu32 -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s
; Source code:
; struct net_device {
; int dev_id;
@@ -128,8 +130,8 @@ define dso_local i32 @bpf_prog(%struct.sk_buff*) local_unnamed_addr #0 !dbg !15
; CHECK-NEXT: .long 0
; CHECK-NEXT: .long 20
; CHECK-NEXT: .long 20
-; CHECK-NEXT: .long 76
-; CHECK-NEXT: .long 96
+; CHECK-NEXT: .long {{[0-9]+}}
+; CHECK-NEXT: .long {{[0-9]+}}
; CHECK-NEXT: .long 28
; CHECK-NEXT: .long 8 # FuncInfo
OpenPOWER on IntegriCloud