[all-commits] [llvm/llvm-project] 18279a: [ARM] Fix IT block generation after Thumb2SizeRedu...

NickGuy-Arm via All-commits all-commits at lists.llvm.org
Mon Aug 3 05:20:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 18279a54b5d3382874924d6a3c7775b7e22598dc
      https://github.com/llvm/llvm-project/commit/18279a54b5d3382874924d6a3c7775b7e22598dc
  Author: Nicholas Guy <nicholas.guy at arm.com>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/test/CodeGen/Thumb2/constant-hoisting.ll

  Log Message:
  -----------
  [ARM] Fix IT block generation after Thumb2SizeReduce with -Oz

Fixes a regression caused by D82439, in which IT blocks were no longer being
generated when -Oz is present. This was due to the CPSR register being marked as
dead, while this case was not accounted for.

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




More information about the All-commits mailing list