1. May 27, 2020
  2. May 26, 2020
    • Matt Arsenault's avatar
      GlobalISel: Merge G_PTR_MASK with llvm.ptrmask intrinsic · 8bc03d21
      Matt Arsenault authored
      Confusingly, these were unrelated and had different semantics. The
      G_PTR_MASK instruction predates the llvm.ptrmask intrinsic, but has a
      different format. G_PTR_MASK only allows clearing the low bits of a
      pointer, and only a constant number of bits. The ptrmask intrinsic
      allows an arbitrary mask. Replace G_PTR_MASK to match the intrinsic.
      
      Only selects the cases that look like the old instruction. More work
      is needed to select the general case. Also new legalization code is
      still needed to deal with the case where the incoming mask size does
      not match the pointer size, which has a specified behavior in the
      langref.
      8bc03d21
    • Daniel Frampton's avatar
      Use configure depends to trigger reconfiguration when LLVMBuild files change · e72cba97
      Daniel Frampton authored
      Summary:
      The existing logic has a workaround where configure_file is used to write a single dummy file output many times.
      
      CMake has a feature to more directly add the dependency and avoid the dummy file (it is available in the minimum version specified).
      
      Reviewers: theraven
      
      Reviewed By: theraven
      
      Subscribers: theraven, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D80218
      e72cba97
    • Nemanja Ivanovic's avatar
      [PowerPC] Unaligned FP default should apply to scalars only · 099a875f
      Nemanja Ivanovic authored
      As reported in PR45186, we could be in a situation where we don't
      want to handle unaligned memory accesses for FP scalars but still
      have VSX (which allows unaligned access for vectors). Change the
      default to only apply to scalars.
      
      Fixes: https://bugs.llvm.org/show_bug.cgi?id=45186
      099a875f
    • Matt Arsenault's avatar
      AMDGPU/GlobalISel: Don't select boolean phi by default · 2dd7714b
      Matt Arsenault authored
      This is currently missing most of the hard parts to lower correctly,
      so disable it for now. This fixes at least one OpenCL conformance test
      and allows it to pass with fallback. Hide this behind an option for
      now.
      2dd7714b