diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-11 04:25:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-11 04:25:06 +0000 |
commit | 94ff2c3210e9509645a8252094eb64c6fdcaa108 (patch) | |
tree | 99a8f407863858ddd6aa7e4f3ebfd7ef72d1bc46 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 95290c7d336db2b548b9d32d27bc6987abb6db3f (diff) | |
download | llvm-94ff2c3210e9509645a8252094eb64c6fdcaa108.zip llvm-94ff2c3210e9509645a8252094eb64c6fdcaa108.tar.gz llvm-94ff2c3210e9509645a8252094eb64c6fdcaa108.tar.bz2 |
Split compare instruction handling OUT of handleTwoArgFP into handleCompareFP.
This makes the code much simpler, and the two cases really do belong apart.
Once we do it, it's pretty obvious how flawed the logic was for A != A case,
so I fixed it (fixing PR369).
This also uses freeStackSlotAfter instead of inserting an fxchg then
popStackAfter'ing in the case where there is a dead result (unlikely, but
possible), producing better code.
llvm-svn: 14139
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions