Skip to content
Commit 88f9137f authored by Evan Cheng's avatar Evan Cheng
Browse files

- Teach SelectionDAG::isKnownNeverZero to return true (op x, c) when c is

  non-zero.
- Teach X86 cmov optimization to eliminate the cmov from ctlz, cttz extension
  when the source of X86ISD::BSR / X86ISD::BSF is proven to be non-zero.

rdar://9490949

llvm-svn: 131948
parent a3b4203c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment