xref: /aosp_15_r20/external/llvm/test/MC/ARM/twice.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; Check for state persistence bugs in the ARM MC backend
2*9880d681SAndroid Build Coastguard Worker; This should neither fail (in the comparison that the second object
3*9880d681SAndroid Build Coastguard Worker; is bit-identical to the first) nor crash. Either failure would most
4*9880d681SAndroid Build Coastguard Worker; likely indicate some state that is not properly reset in the
5*9880d681SAndroid Build Coastguard Worker; appropriate ::reset method.
6*9880d681SAndroid Build Coastguard Worker; RUN: llc -compile-twice -filetype=obj %s -o -
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
9*9880d681SAndroid Build Coastguard Workertarget triple = "armv4t-unknown-linux-gnueabi"
10