[PATCH] D122900: [x86] Disable optimization involved in an infinite loop inside DAG combiner.

pierre gousseau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 1 05:57:42 PDT 2022


pgousseau created this revision.
pgousseau added reviewers: RKSimon, spatel, craig.topper.
Herald added subscribers: StephenFan, pengfei, hiraditya.
Herald added a project: All.
pgousseau requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The issue affects targets supporting fast-lzcnt such as btver2.
This revert the optimization to fix the infinite loop while we look at the best way to fix the infinite loop.
This fixes Issue https://github.com/llvm/llvm-project/issues/54694


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122900

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/X86/lzcnt-zext-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122900.419732.patch
Type: text/x-patch
Size: 17273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220401/52dfe4d7/attachment.bin>


More information about the llvm-commits mailing list