Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
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 ↗ | (On Diff #170906) | Use match() here, so we can get rid of getFNegArgument() too? |
lib/CodeGen/SelectionDAG/FastISel.cpp | ||
---|---|---|
1697 ↗ | (On Diff #170906) | 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? |
lib/CodeGen/SelectionDAG/FastISel.cpp | ||
---|---|---|
1697 ↗ | (On Diff #170906) | This seems fine to me (definitely better than having 2 match() calls). |
lib/Transforms/InstCombine/InstCombineCasts.cpp | ||
1616–1617 ↗ | (On Diff #171100) | Did the test that I added fail with this diff? |