brintos

brintos / llvm-project-archived public Read only

0
0
Text · 788 B · 8948dde Raw
24 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -mcpu=pwr9 \2; RUN: 	   | FileCheck %s -check-prefix=DEFAULT3; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -mcpu=pwr9 \4; RUN: 	   -ppc-set-dscr=0xFFFFFFFFFFFFFFFF | FileCheck %s -check-prefix=UPPER5; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -mcpu=pwr9 \6; RUN: 	   -ppc-set-dscr=0x01C4 | FileCheck %s -check-prefix=LOWER7 8define i32 @main() {9 10; CHECK:   	   # %bb.0:11 12; DEFAULT-NOT:	   mtudscr13 14; UPPER:	   lis [[inReg:[0-9]+]], 51115; UPPER-NEXT:	   ori [[inReg]], [[inReg]], 6553516; UPPER-NEXT:	   mtudscr [[inReg]]17 18; LOWER:	   lis [[inReg:[0-9]+]], 019; LOWER-NEXT:	   ori [[inReg]], [[inReg]], 45220; LOWER-NEXT:	   mtudscr [[inReg]]21 22       ret i32 123}24