[all-commits] [llvm/llvm-project] cf2be5: [AArch64][GlobalISel] Emit G_ASSERT_ZEXT in assign...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Mon Feb 1 10:03:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf2be5e3bb3dae347af41ab6117f3e9b250cc8c3
      https://github.com/llvm/llvm-project/commit/cf2be5e3bb3dae347af41ab6117f3e9b250cc8c3
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-zeroext.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Emit G_ASSERT_ZEXT in assignValueToReg

When we have a zeroext parameter, emit G_ASSERT_ZEXT.

Add a check that we actually emit it.

This is a 0.1% code size win on CTMark/7zip and CTMark/consumer-typeset at -Os.

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




More information about the All-commits mailing list