xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/vec-asm-disabled.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llc -mcpu=pwr7 -o /dev/null %s 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Workertarget datalayout = "E-m:e-i64:64-n32:64"
3*9880d681SAndroid Build Coastguard Workertarget triple = "powerpc64-unknown-linux-gnu"
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerdefine <4 x i32> @testi1(<4 x i32> %b1, <4 x i32> %b2) #0 {
6*9880d681SAndroid Build Coastguard Workerentry:
7*9880d681SAndroid Build Coastguard Worker  %0 = call <4 x i32> asm "xxland $0, $1, $2", "=^wd,^wd,^wd"(<4 x i32> %b1, <4 x i32> %b2) #0
8*9880d681SAndroid Build Coastguard Worker  ret <4 x i32> %0
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker; CHECK: error: couldn't allocate output register for constraint 'wd'
11*9880d681SAndroid Build Coastguard Worker}
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard Workerattributes #0 = { nounwind "target-features"="-vsx" }
14*9880d681SAndroid Build Coastguard Worker
15