[AVR] Implement getCmpLibcallReturnType().
authorDylan McKay <me@dylanmckay.io>
Sun, 24 Sep 2017 01:07:26 +0000 (01:07 +0000)
committerDylan McKay <me@dylanmckay.io>
Sun, 24 Sep 2017 01:07:26 +0000 (01:07 +0000)
commitf9e291a2f655c0859bf64c2d700266f864c0e6b5
treeb8e63def0c19acec7470ec8b7cd19b6183efbe87
parent212211915096b22f5dfa32cc554aadaf17fb8ba4
[AVR] Implement getCmpLibcallReturnType().

This fixes the avr-rust issue (#75) with floating-point comparisons generating broken code.
By default, LLVM assumes these comparisons return 32-bit values, but ours are 8-bit.

Patch By Thomas Backman.

llvm-svn: 314070
llvm/lib/Target/AVR/AVRISelLowering.h