[all-commits] [llvm/llvm-project] a97732: [InstSimplify] Match PtrToInt more directly in a G...

Simonas Kazlauskas via All-commits all-commits at lists.llvm.org
Tue Mar 16 06:45:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9773248001229ed67f239c7ebb2043f7e9ddb94
      https://github.com/llvm/llvm-project/commit/a9773248001229ed67f239c7ebb2043f7e9ddb94
  Author: Simonas Kazlauskas <git at kazlauskas.me>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  [InstSimplify] Match PtrToInt more directly in a GEP transform (NFC)

In preparation for D98611, the upcoming change will need to apply additional checks to `P` and `V`,
and so this refactor paves the way for adding additional checks in a less awkward way.

Reviewed By: lebedev.ri

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




More information about the All-commits mailing list