1 # REQUIRES: x86-registered-target && aarch64-registered-target
2 # RUN: llvm-as %p/Inputs/arm64-asm.ll -o %t-arm64-asm.o
3 # RUN: llvm-as %p/Inputs/x86_64-asm.ll -o %t-x86_64-asm.o
5 # RUN: llvm-lipo %t-arm64-asm.o %t-x86_64-asm.o -create -output %t-universal.o
6 # RUN: llvm-lipo %t-arm64-asm.o -arch x86_64 %t-x86_64-asm.o -create -output %t-universal-1.o
7 # RUN: cmp %t-universal.o %t-universal-1.o
8 # RUN: llvm-lipo -arch arm64 %t-arm64-asm.o -arch x86_64 %t-x86_64-asm.o -create -output %t-universal-2.o
9 # RUN: cmp %t-universal.o %t-universal-2.o