OSDN Git Service

[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)
commitd6aa26f4422f4fe96bf53b6a9edc73dcc2f5092a
tree351033e96df4b2dbaecbc1aa649164fc709a1504
parent86fc9ce7521c29ce1ac9b71f052bf07ab39f87b0
[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/trunk@314070 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AVR/AVRISelLowering.h