[all-commits] [llvm/llvm-project] c6ec77: [test] Precommit test for D153815

aeubanks via All-commits all-commits at lists.llvm.org
Tue Jun 27 09:16:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6ec77a05457e617abc2e427df0ebbb7446fcf50
      https://github.com/llvm/llvm-project/commit/c6ec77a05457e617abc2e427df0ebbb7446fcf50
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    A llvm/test/Transforms/InstCombine/inbounds-gep.ll

  Log Message:
  -----------
  [test] Precommit test for D153815


  Commit: cd43b19c0127d80f3543803359db0f03e363e893
      https://github.com/llvm/llvm-project/commit/cd43b19c0127d80f3543803359db0f03e363e893
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/compare-unescaped.ll
    M llvm/test/Transforms/InstCombine/inbounds-gep.ll
    M llvm/test/Transforms/PhaseOrdering/X86/vec-load-combine.ll
    M llvm/test/Transforms/PhaseOrdering/bitcast-store-branch.ll
    M llvm/test/Transforms/PhaseOrdering/dce-after-argument-promotion-loads.ll

  Log Message:
  -----------
  [InstCombine] Infer inbounds for more GEPs of dereferenceable pointers

Use Value::getPointerDereferenceableBytes() instead of hardcoding dereferenceable only for allocas. Allows us to infer inbounds GEPs for other Values like CallInsts and Arguments.

Reviewed By: nikic

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


Compare: https://github.com/llvm/llvm-project/compare/65de6b0b0e10...cd43b19c0127


More information about the All-commits mailing list