If the control is constant we can figure out exactly which bits
of the input are demanded.
Details
Details
- Reviewers
spatel RKSimon - Commits
- rGf21f835ee8e5: [X86] Improve demanded bits for X86ISD::BEXTR.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
38352 | Maybe just call computeKnownBits to avoid code duplication? |
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
38352 | Won’t that be more costly for compile time? |
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
38341 | Doesn't the caller already do that when all demanded bits are known? |
Return a new zero constant if we manage to get here?