1. Oct 30, 2019
    • Fangrui Song's avatar
      [SLP] Fix -Wunused-variable. NFC · 5503455c
      Fangrui Song authored
      5503455c
    • Guillaume Chatelet's avatar
      isBuiltinFunc() uses StringRef instead of const char* · 1c85a2e8
      Guillaume Chatelet authored
      Summary: This prevents a bug when passing nullptr, StringRef ctor would call strlen(nullptr).
      
      Reviewers: vlad.tsyrklevich
      
      Subscribers: cfe-commits
      
      Tags: #clang
      
      Differential Revision: https://reviews.llvm.org/D69569
      1c85a2e8
    • Sander de Smalen's avatar
      Reland [AArch64][DebugInfo] Do not recompute CalleeSavedStackSize (Take 2) · d6a7da80
      Sander de Smalen authored
      llvm/test/DebugInfo/MIR/X86/live-debug-values-reg-copy.mir failed with
      EXPENSIVE_CHECKS enabled, causing the patch to be reverted in
      rG2c496bb5.
      
      This patch relands the patch with a proper fix to the
      live-debug-values-reg-copy.mir tests, by ensuring the MIR encodes the
      callee-saves correctly so that the CalleeSaved info is taken from MIR
      directly, rather than letting it be recalculated by the PEI pass. I've
      done this by running `llc -stop-before=prologepilog` on the LLVM
      IR as captured in the test files, adding the extra MOV instructions
      that were manually added in the original test file, then running `llc
      -run-pass=prologepilog` and finally re-added the comments for the MOV
      instructions.
      d6a7da80
  2. Oct 29, 2019