]> granicus.if.org Git - llvm/commit
Merging r314070:
authorDylan McKay <me@dylanmckay.io>
Wed, 27 Sep 2017 22:17:11 +0000 (22:17 +0000)
committerDylan McKay <me@dylanmckay.io>
Wed, 27 Sep 2017 22:17:11 +0000 (22:17 +0000)
commit75265eee07fa4a304ae78d805388d2b10893ffce
tree9fbdb479bc3e3dcac8ff346c1fde62dcead7ba26
parentbc9510e749714e70ea96ee4feabdd476e55124e5
Merging r314070:
------------------------------------------------------------------------
r314070 | dylanmckay | 2017-09-24 14:07:26 +1300 (Sun, 24 Sep 2017) | 6 lines

[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.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@314357 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AVR/AVRISelLowering.h