brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · ad4fe5b Raw
56 lines · plain
1; RUN: llc -mtriple=hexagon -verify-machineinstrs < %s2; REQUIRES: asserts3 4; Test that the aggressive anti-dependence breaker does not attempt5; to rename a tied operand.6 7@g0 = external global [4 x i64], align 88@g1 = external global [6 x i64], align 89@g2 = external unnamed_addr constant [45 x i8], align 110@g3 = external unnamed_addr constant [26 x i8], align 111@g4 = external unnamed_addr constant [29 x i8], align 112@g5 = external unnamed_addr constant [29 x i8], align 113 14; Function Attrs: norecurse nounwind readonly15declare i64 @f0() #016 17; Function Attrs: nounwind18define void @f1() #1 {19b0:20  %v0 = load i64, ptr @g0, align 821  %v1 = trunc i64 %v0 to i3222  %v2 = load i64, ptr @g1, align 823  %v3 = load i64, ptr getelementptr inbounds ([6 x i64], ptr @g1, i32 0, i32 3), align 824  %v4 = lshr i64 %v2, 3225  %v5 = trunc i64 %v4 to i3226  %v6 = add i32 %v5, 027  %v7 = trunc i64 %v3 to i3228  %v8 = lshr i64 %v3, 3229  %v9 = add i32 %v6, %v730  %v10 = trunc i64 %v8 to i3231  %v11 = add i32 %v9, %v1032  %v12 = add i32 %v11, 033  %v13 = add i32 %v12, 034  %v14 = tail call i64 @f0()35  %v15 = lshr i64 %v0, 1636  %v16 = trunc i64 %v15 to i3237  %v17 = and i32 %v16, 6553538  %v18 = add nuw nsw i32 %v17, 039  %v19 = zext i32 %v18 to i6440  %v20 = add i32 %v16, %v141  %v21 = and i32 %v20, 6553542  %v22 = zext i32 %v21 to i6443  tail call void (ptr, ...) @f2(ptr @g2, i32 %v13) #244  tail call void (ptr, ...) @f2(ptr @g3, i64 %v14) #245  tail call void (ptr, ...) @f2(ptr @g4, i64 %v19) #246  tail call void (ptr, ...) @f2(ptr @g5, i64 %v22) #247  ret void48}49 50; Function Attrs: nounwind51declare void @f2(ptr nocapture readonly, ...) #152 53attributes #0 = { norecurse nounwind readonly "target-cpu"="hexagonv55" }54attributes #1 = { nounwind "target-cpu"="hexagonv55" }55attributes #2 = { nounwind }56