[PATCH] D95291: [CostModel] Remove VF from IntrinsicCostAttributes

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 11:20:37 PST 2021


jsji added a comment.

Reduced IR:

  opt bugpoint-reduced-simplified.ll -inline



  target datalayout = "E-m:e-i64:64-n32:64-v256:256:256-v512:512:512"
  target triple = "powerpc64-unknown-linux-gnu"
  
  $_Z1mIdLi10ELi1ELi3EEvv = comdat any
  $_Z1eIiLi10ELi1ELi1EEvv = comdat any
  
  define void @_Z1mIdLi10ELi1ELi3EEvv() local_unnamed_addr #1 comdat {
  entry:
    call void @_Z1eIiLi10ELi1ELi1EEvv()
    ret void
  }
  
  define void @_Z1eIiLi10ELi1ELi1EEvv() local_unnamed_addr #1 comdat {
  entry:
    %matrix1 = call <1 x i32> @llvm.matrix.column.major.load.v1i32(i32* nonnull align 4 undef, i64 1, i1 false, i32 1, i32 1)
    %0 = call <10 x i32> @llvm.matrix.multiply.v10i32.v10i32.v1i32(<10 x i32> undef, <1 x i32> %matrix1, i32 10, i32 1, i32 1)
    ret void
  }
  
  declare <1 x i32> @llvm.matrix.column.major.load.v1i32(i32* nocapture, i64, i1 immarg, i32 immarg, i32 immarg) #2
  declare <10 x i32> @llvm.matrix.multiply.v10i32.v10i32.v1i32(<10 x i32>, <1 x i32>, i32 immarg, i32 immarg, i32 immarg) #3


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95291/new/

https://reviews.llvm.org/D95291



More information about the llvm-commits mailing list