This is a follow up to r335753. At the time I forgot about isProfitableToFold which makes this pretty easy.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 19812 Build 19812: arc lint + arc unit
Event Timeline
Comment Actions
This looks reasonable, but i'm not familiar with that code.
| lib/Target/X86/X86ISelDAGToDAG.cpp | ||
|---|---|---|
| 576 | Extra unneeded brackets | |
| lib/Target/X86/X86ISelDAGToDAG.cpp | ||
|---|---|---|
| 594 | dyn_cast maybe? | |
Comment Actions
LGTM once the extra brackets have been fixed. I'm happy with either the isa/cast pattern or replacing with a dyn_cast inner if().
Extra unneeded brackets