[all-commits] [llvm/llvm-project] 85ed09: [LSR] Keep ICmpZero comparisons in integer domain ...

Timur Golubovich via All-commits all-commits at lists.llvm.org
Thu Jun 11 07:40:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85ed098a6d5dd30bbdbac2ba0697bc5104fcba8c
      https://github.com/llvm/llvm-project/commit/85ed098a6d5dd30bbdbac2ba0697bc5104fcba8c
  Author: Timur Golubovich <timur.golubovich at intel.com>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/test/CodeGen/X86/conditional-tailcall.ll
    A llvm/test/Transforms/LoopStrengthReduce/X86/lsr-icmpzero-no-inttoptr.ll
    M llvm/test/Transforms/LoopStrengthReduce/funclet.ll
    M llvm/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr25541.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr27056.ll

  Log Message:
  -----------
  [LSR] Keep ICmpZero comparisons in integer domain to avoid inttoptr casts (#201970)

When LSR expands ICmpZero fixups with pointer-typed operands, override
OpTy to the integer type so both icmp sides stay in the integer domain,
eliminating redundant inttoptr casts.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list