Skip to content
Commit 36c13315 authored by Craig Topper's avatar Craig Topper
Browse files

[CodeGen] Teach DAG combine to fold select_cc seteq X, 0, sizeof(X),...

[CodeGen] Teach DAG combine to fold select_cc seteq X, 0, sizeof(X), ctlz_zero_undef(X) -> ctlz(X). InstCombine already does this for IR and X86 pattern matches this during isel.

A follow up commit will remove the X86 patterns to allow this to be tested.

llvm-svn: 267325
parent beb77bd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment