Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Nice - that wasn't as bad as I was fearing. :)
I'm not sure how to expose a test diff with the fast-isel change (some combine appears to already be undef aware), but here's an instcombine test:
rL345206
lib/CodeGen/SelectionDAG/FastISel.cpp | ||
---|---|---|
1697–1700 | Use match() here, so we can get rid of getFNegArgument() too? |
lib/CodeGen/SelectionDAG/FastISel.cpp | ||
---|---|---|
1697–1700 | This would have been a weird use of match(...), i.e. ignoring the return value, so I refactored the code to pull the match(...) into selectFNeg(...). This is also a little weird, but seems ok. Thoughts or alternatives? |
Use match() here, so we can get rid of getFNegArgument() too?