Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
390 ms | linux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp |
Event Timeline
Comment Actions
Much like with a similar InstCombine question, i'm on the edge about this.
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
34052–34066 | I think you want to instead add a computeKnownBitsUsingTargetKnowledge() |
Comment Actions
An alternative I thought of is to add a target hook to ShrinkDemandedOp similar to the one we have in ShrinkDemandedConstant. Or might be able to just make ShrinkDemandedOp virtual?
I think you want to instead add a computeKnownBitsUsingTargetKnowledge()