[all-commits] [llvm/llvm-project] 253d2f: Revert "[InstCombine] Fold `icmp pred (inttoptr X)...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Sat Jan 13 11:15:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 253d2f931e530f6fbc12bc8646e70ed7090baf20
      https://github.com/llvm/llvm-project/commit/253d2f931e530f6fbc12bc8646e70ed7090baf20
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-01-13 (Sat, 13 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/cast_ptr.ll

  Log Message:
  -----------
  Revert "[InstCombine] Fold `icmp pred (inttoptr X), (inttoptr Y) -> icmp pred X, Y`" (#78023)

Reverts llvm/llvm-project#77832

To fix https://lab.llvm.org/buildbot/#/builders/236/builds/8673

Also truncation to shorter type looks incorrect.

Issue for tracking #78024 .




More information about the All-commits mailing list