1. Aug 06, 2021
    • Ramesh Peri's avatar
      [llvm-ar] Fix for handling thin archive with SYM64 and a test case for it · 976bd236
      Ramesh Peri authored
      WHen thin archives are created which have symbol table of type SYM64 then all the tools will not work since they cannot read the files properly.
      One can reproduce the problem as follows:
      1. Take a hello world program and create an archive out of it. The SYM64_THRESHOLD=0 will force the generation of SYM64 symbol table.
          clang -c hello.cpp
          SYM64_THRESHOLD=0 llvm-ar crsT mylib.a hello.o
      2. Now try to use any of the tools on this mylib.a and it will fail.
          llvm-nm -M mylib.a
      
      THis fix will eliminate these failures. A regression test is created in llvm/test/Object/archive-symtab.test
      
      Reviewed By: MaskRay, Ramesh
      
      Differential Revision: https://reviews.llvm.org/D107322
      976bd236
    • Jon Roelofs's avatar
      Fix clang-interpreter build after 2487db1f · b4c0307d
      Jon Roelofs authored
      b4c0307d
    • Benjamin Kramer's avatar
      Revert "[X86] combineX86ShuffleChain(): canonicalize mask elts picking from splats" · bd17ced1
      Benjamin Kramer authored
      This reverts commits f819e4c7 and
      35c0848b. It triggers an infinite loop during
      compilation.
      
      $ cat t.ll
      target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
      target triple = "x86_64-unknown-linux-gnu"
      
      define void @MaxPoolGradGrad_1.65() local_unnamed_addr #0 {
      entry:
        %wide.vec78 = load <64 x i32>, <64 x i32>* null, align 16
        %strided.vec83 = shufflevector <64 x i32> %wide.vec78, <64 x i32> poison, <8 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60>
        %0 = lshr <8 x i32> %strided.vec83, <i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16>
        %1 = add <8 x i32> zeroinitializer, %0
        %2 = shufflevector <8 x i32> %1, <8 x i32> undef, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
        %3 = shufflevector <16 x i32> %2, <16 x i32> undef, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
        %interleaved.vec = shufflevector <32 x i32> undef, <32 x i32> %3, <64 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63>
        store <64 x i32> %interleaved.vec, <64 x i32>* undef, align 16
        unreachable
      }
      
      $ llc < t.ll -mcpu=skylake
      <hang>
      bd17ced1
    • Jessica Paquette's avatar
      [AArch64][GlobalISel] Mark v16s8 <- v8s8, v8s8 G_CONCAT_VECTOR as legal · f3f3098a
      Jessica Paquette authored
      G_CONCAT_VECTORS shows up from time to time when legalizing other instructions.
      
      We actually import patterns for the v16s8 <- v8s8, v8s8 case so marking it
      as legal gives us selection for free.
      
      Differential Revision: https://reviews.llvm.org/D107512
      f3f3098a
    • Daniele Vettorel's avatar
      Add llvm-stress binary to Bazel build configuration. · 180f4a87
      Daniele Vettorel authored
      The `llvm-stress` binary is currently missing from the Bazel `BUILD` file for llvm. This patch adds it.
      
      Reviewed By: GMNGeoffrey
      
      Differential Revision: https://reviews.llvm.org/D107571
      180f4a87
    • Florian Hahn's avatar
      [SLP] Add additional memory version tests. · 97469d4c
      Florian Hahn authored
      97469d4c
  2. Aug 05, 2021