diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-12-12 19:20:21 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-12-12 19:20:21 +0000 |
| commit | 4937adf75f024f5cbd3cc190d5bd57d1761aefc3 (patch) | |
| tree | d7a7794e50161f74cfd6aa0c008d32296392121b /llvm/lib/Target/WebAssembly | |
| parent | 2ef6c46b2f9a2f9dce73d7b15bf837a2feb0bd8a (diff) | |
| download | bcm5719-llvm-4937adf75f024f5cbd3cc190d5bd57d1761aefc3.tar.gz bcm5719-llvm-4937adf75f024f5cbd3cc190d5bd57d1761aefc3.zip | |
[X86] Emit SBB instead of SETCC_CARRY from LowerSELECT. Break false dependency on the SBB input.
I'm hoping we can just replace SETCC_CARRY with SBB. This is another step towards that.
I've explicitly used zero as the input to the setcc to avoid a false dependency that we've had with the SETCC_CARRY. I changed one of the patterns that used NEG to instead use an explicit compare with 0 on the LHS. We needed the zero anyway to avoid the false dependency. The negate would clobber its input register. By using a CMP we can avoid that which could be useful.
Differential Revision: https://reviews.llvm.org/D55414
llvm-svn: 348959
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
0 files changed, 0 insertions, 0 deletions

