<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/test/CodeGen/RISCV, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-06-25T23:13:53+00:00</updated>
<entry>
<title>[RISCV] Fix incorrect FP base CFI offset for variable argument functions</title>
<updated>2020-06-25T23:13:53+00:00</updated>
<author>
<name>Shiva Chen</name>
<email>shiva@andestech.com</email>
</author>
<published>2020-02-03T05:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=43ca67c05d2881d00075a15de555af1b19370294'/>
<id>urn:sha1:43ca67c05d2881d00075a15de555af1b19370294</id>
<content type='text'>
When the FP exists, the FP base CFI directive offset should take the size of variable arguments into account.

Differential Revision: https://reviews.llvm.org/D73862

(cherry picked from commit 64f417200e1020305f28f3c1e40691585f50f6ad)
</content>
</entry>
<entry>
<title>[RISCV64] Emit correct lib call for fp(float/double) to ui/si</title>
<updated>2020-06-25T23:13:53+00:00</updated>
<author>
<name>Kamlesh Kumar</name>
<email>kamleshbhalui@gmail.com</email>
</author>
<published>2020-06-18T13:46:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=249fef00d925ce56d7eb1f6910064a586716cba4'/>
<id>urn:sha1:249fef00d925ce56d7eb1f6910064a586716cba4</id>
<content type='text'>
Since i32 is not legal in riscv64,
it always promoted to i64 before emitting lib call and
for conversions like float/double to int and float/double to unsigned int
wrong lib call was emitted. This commit fix it using custom lowering.

Differential Revision: https://reviews.llvm.org/D80526

(cherry picked from commit 7622ea5835f0381a426e504f4c03f11733732b83)
</content>
</entry>
<entry>
<title>[LegalizeTypes][RISCV] Correctly sign-extend comparison for ATOMIC_CMP_XCHG</title>
<updated>2020-06-25T23:13:53+00:00</updated>
<author>
<name>Alex Bradbury</name>
<email>asb@asbradbury.org</email>
</author>
<published>2020-06-25T10:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f8e49af4f1adcf457ea32e7164a126b10357cf4f'/>
<id>urn:sha1:f8e49af4f1adcf457ea32e7164a126b10357cf4f</id>
<content type='text'>
Currently, the comparison argument used for ATOMIC_CMP_XCHG is legalised
with GetPromotedInteger, which leaves the upper bits of the value
undefind. Since this is used for comparing in an LR/SC loop with a
full-width comparison, we must sign extend it on RISC-V.

This is related to https://reviews.llvm.org/D58829, which solved the
issue for ATOMIC_CMP_SWAP_WITH_SUCCESS, but not the simpler
ATOMIC_CMP_SWAP.

This patch is a modified form of
616289ed29225c0ddfe5699c7fdf42a0fcbe0ab4 by Jessica Clarke. It localises
the changes to LegalizeIntegerTypes and avoids adding a new virtual
method to TargetLowering to avoid changing the ABI of libLLVM.so.
</content>
</entry>
<entry>
<title>[RISCV] Correct the CallPreservedMask for the function call in an interrupt handler</title>
<updated>2020-02-20T14:13:56+00:00</updated>
<author>
<name>Shiva Chen</name>
<email>shiva@andestech.com</email>
</author>
<published>2020-02-14T07:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4bcdac8d762794d822819eb6d207a0630c345d0b'/>
<id>urn:sha1:4bcdac8d762794d822819eb6d207a0630c345d0b</id>
<content type='text'>
CallPreservedMask is used to describe the register liveness after a
function call. The function call in an interrupt handler should use the same
CallPreservedMask as normal functions. So that only callee save registers
can live through the function call.

(cherry picked from commit 1cae2f9d192c69833e22684ca338660942ab464e)
</content>
</entry>
<entry>
<title>[RISCV] Support ABI checking with per function target-features</title>
<updated>2020-01-27T18:07:09+00:00</updated>
<author>
<name>Zakk Chen</name>
<email>zakk.chen@sifive.com</email>
</author>
<published>2019-11-29T02:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=72882ca30d87bd7ea85d8099e8b9d2244749b71e'/>
<id>urn:sha1:72882ca30d87bd7ea85d8099e8b9d2244749b71e</id>
<content type='text'>
1. if users don't specific -mattr, the default target-feature come
from IR attribute.
2. fixed bug and re-land this patch

Reviewers: lenary, asb

Reviewed By: lenary

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70837

(cherry picked from commit 0cb274de397a193fb37c60653b336d48a3a4f1bd)
</content>
</entry>
<entry>
<title>Revert "[RISCV] Support ABI checking with per function target-features"</title>
<updated>2020-01-27T18:06:42+00:00</updated>
<author>
<name>Zakk Chen</name>
<email>zakk.chen@sifive.com</email>
</author>
<published>2020-01-17T02:01:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4d342b7d8e9bc6f40001011b51b5ad812535c4a6'/>
<id>urn:sha1:4d342b7d8e9bc6f40001011b51b5ad812535c4a6</id>
<content type='text'>
This reverts commit 7bc58a779aaa1de56fad8b1bc8e46932d2f2f1e4.
It breaks EXPENSIVE_CHECKS on Windows

(cherry picked from commit cef838e65f9a2aeecf5e19431077bc16b01a79fb)
</content>
</entry>
<entry>
<title>[RISCV] Check the target-abi module flag matches the option</title>
<updated>2020-01-27T18:06:22+00:00</updated>
<author>
<name>Zakk Chen</name>
<email>zakk.chen@sifive.com</email>
</author>
<published>2020-01-15T14:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7c5784746cfc6dc1906359704da5a4c95b64fb47'/>
<id>urn:sha1:7c5784746cfc6dc1906359704da5a4c95b64fb47</id>
<content type='text'>
Reviewers: lenary, asb

Reviewed By: lenary

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72768

(cherry picked from commit 1256d68093ac1696034e385bbb4cb6e516b66bea)
</content>
</entry>
<entry>
<title>[RISCV] Support ABI checking with per function target-features</title>
<updated>2020-01-15T12:35:01+00:00</updated>
<author>
<name>Zakk Chen</name>
<email>zakk.chen@sifive.com</email>
</author>
<published>2019-11-29T02:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7bc58a779aaa1de56fad8b1bc8e46932d2f2f1e4'/>
<id>urn:sha1:7bc58a779aaa1de56fad8b1bc8e46932d2f2f1e4</id>
<content type='text'>
if users don't specific -mattr, the default target-feature come
from IR attribute.

Reviewers: lenary, asb

Reviewed By: lenary, asb

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70837
</content>
</entry>
<entry>
<title>Revert "[RISCV] Support ABI checking with per function target-features"</title>
<updated>2020-01-15T12:32:57+00:00</updated>
<author>
<name>Zakk Chen</name>
<email>zakk.chen@sifive.com</email>
</author>
<published>2020-01-15T12:32:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3bc2860e926b7e35c381ea41dd90caeb7ae400d2'/>
<id>urn:sha1:3bc2860e926b7e35c381ea41dd90caeb7ae400d2</id>
<content type='text'>
This reverts commit 109e4d12edda07bdec139de36d9fdb6f73399f92.
</content>
</entry>
<entry>
<title>[RISCV] Support ABI checking with per function target-features</title>
<updated>2020-01-15T10:30:43+00:00</updated>
<author>
<name>Zakk Chen</name>
<email>zakk.chen@sifive.com</email>
</author>
<published>2019-11-29T02:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=109e4d12edda07bdec139de36d9fdb6f73399f92'/>
<id>urn:sha1:109e4d12edda07bdec139de36d9fdb6f73399f92</id>
<content type='text'>
if users don't specific -mattr, the default target-feature come
from IR attribute.
</content>
</entry>
</feed>
