With BMI, we can use 'andn' to save an instruction when the result is only used in a compare.
This is related to one of the potential sequences to check 'isfinite' in:
https://llvm.org/bugs/show_bug.cgi?id=27164
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM. One nit, fix or not at your discretion.
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
14778 ↗ | (On Diff #53094) | For me this would read better as break; |
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
14778 ↗ | (On Diff #53094) | Yes, that does read better. Thanks! |