[llvm] r344693 - [ARM] bottom-top mul support in ARMParallelDSP

Friedman, Eli via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 18 12:38:31 PDT 2018


On 10/17/2018 6:02 AM, Sam Parker via llvm-commits wrote:
> Author: sam_parker
> Date: Wed Oct 17 06:02:48 2018
> New Revision: 344693
>
> URL: http://llvm.org/viewvc/llvm-project?rev=344693&view=rev
> Log:
> [ARM] bottom-top mul support in ARMParallelDSP
>
> Previously reverted in rL343082.

Reverted again in r344752.  Reduced testcase attached; reproduce with 
"llc polly-aosp-pitch-reduced.ll".

-El

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

-------------- next part --------------
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbv7-unknown-linux-android"

define void @Pitch_fr(i16*) {
  %2 = add nsw i32 undef, -1
  %3 = getelementptr i16, i16* %0, i32 %2
  %4 = add nsw i32 undef, -2
  %5 = getelementptr i16, i16* %0, i32 %4
  %6 = load i16, i16* undef, align 2
  %7 = sext i16 %6 to i32
  br label %8

; <label>:8:                                      ; preds = %8, %1
  %9 = getelementptr i16, i16* %3, i32 0
  %10 = load i16, i16* %9, align 2
  %11 = sext i16 %10 to i32
  %12 = mul nsw i32 %11, %7
  %13 = getelementptr i16, i16* %5, i32 0
  %14 = load i16, i16* %13, align 2
  %15 = sext i16 %14 to i32
  %16 = mul nsw i32 %15, %7
  br label %8
}


More information about the llvm-commits mailing list