[all-commits] [llvm/llvm-project] 85b4d2: [ARM] Register pressure with -mthumb forces regist...

David Green via All-commits all-commits at lists.llvm.org
Mon Aug 31 12:01:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 85b4d286d7b19f78135277fe068b1d90f595f8bf
      https://github.com/llvm/llvm-project/commit/85b4d286d7b19f78135277fe068b1d90f595f8bf
  Author: Prathamesh Kulkarni <prathamesh.kulkarni at linaro.org>
  Date:   2020-08-31 (Mon, 31 Aug 2020)

  Changed paths:
    M llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
    M llvm/lib/Target/ARM/Thumb1InstrInfo.h
    A llvm/test/CodeGen/ARM/minsize-call-cse-2.ll
    A llvm/test/CodeGen/ARM/minsize-call-cse-3.ll

  Log Message:
  -----------
  [ARM] Register pressure with -mthumb forces register reload before each call

This patch implements the foldMemoryOperand hook in Thumb1InstrInfo,
allowing tBLXr and a spilled function address to be combined back into a
tBL. This can help with codesize at Oz, especailly in the tinycrypt
library.

Differential Revision: https://reviews.llvm.org/D79785




More information about the All-commits mailing list