Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / ELF / got-relaxed-i386.s
blob260390067b7b1f6bb9cdcf859b66c5e0c9ec8811
1 // RUN: llvm-mc -filetype=obj -triple i386-pc-linux %s -o - | llvm-readobj -r - | FileCheck %s
2 // RUN: llvm-mc -filetype=obj -x86-relax-relocations=false -triple i386-pc-linux %s -o - | llvm-readobj -r - | FileCheck --check-prefix=OLD %s
4 movl mov@GOT(%ebx), %eax
5 mull mul@GOT(%ebx)
6 .long long@GOT
8 // CHECK: Relocations [
9 // CHECK-NEXT: Section ({{.*}}) .rel.text {
10 // CHECK-NEXT: R_386_GOT32X mov
11 // CHECK-NEXT: R_386_GOT32 mul
12 // CHECK-NEXT: R_386_GOT32 long
13 // CHECK-NEXT: }
14 // CHECK-NEXT: ]
16 // OLD: Relocations [
17 // OLD-NEXT: Section ({{.*}}) .rel.text {
18 // OLD-NEXT: R_386_GOT32 mov
19 // OLD-NEXT: R_386_GOT32 mul
20 // OLD-NEXT: R_386_GOT32 long
21 // OLD-NEXT: }
22 // OLD-NEXT: ]