[all-commits] [llvm/llvm-project] 79dfe4: [ARM] Set isCheapToSpeculateCtlz as true for hasV5...

AZero13 via All-commits all-commits at lists.llvm.org
Mon Aug 25 12:44:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79dfe4886537795b22310cdfa941c67c78c67890
      https://github.com/llvm/llvm-project/commit/79dfe4886537795b22310cdfa941c67c78c67890
  Author: AZero13 <gfunni234 at gmail.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
    M llvm/lib/Target/ARM/README.txt
    M llvm/test/CodeGen/ARM/clz.ll
    M llvm/test/CodeGen/ARM/cttz.ll

  Log Message:
  -----------
  [ARM] Set isCheapToSpeculateCtlz as true for hasV5TOps and no Thumb 1 (#154848)

This is so that we don't expand to include unneeded 0 checks.

Also fix the logic error in LegalizerInfo so it is NOT legal on Thumb1
in Fast-ISEL.

Finally, Remove the README entry regarding this issue.



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