[all-commits] [llvm/llvm-project] 35cb45: [ImplicitNullChecks] Support complex addressing mode

annamthomas via All-commits all-commits at lists.llvm.org
Wed Oct 7 17:55:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 35cb45c533fb76dcfc9f44b4e8bbd5d8a855ed2a
      https://github.com/llvm/llvm-project/commit/35cb45c533fb76dcfc9f44b4e8bbd5d8a855ed2a
  Author: Anna Thomas <anna at azul.com>
  Date:   2020-10-07 (Wed, 07 Oct 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/lib/CodeGen/ImplicitNullChecks.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.h
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86InstrInfo.h
    M llvm/test/CodeGen/X86/implicit-null-check-negative.ll
    M llvm/test/CodeGen/X86/implicit-null-check.ll
    M llvm/test/CodeGen/X86/implicit-null-checks.mir

  Log Message:
  -----------
  [ImplicitNullChecks] Support complex addressing mode

The pass is updated to handle loads through complex addressing mode,
specifically, when we have a scaled register and a scale.
It requires two API updates in TII which have been implemented for X86.

See added IR and MIR testcases.

Tests-Run: make check
Reviewed-By: reames, danstrushin
Differential Revision: https://reviews.llvm.org/D87148




More information about the All-commits mailing list