Kazushi (Jam) Marukawa
44a679eaa4
[VE] Change the behaviour of truncate
...
Change the way to truncate i64 to i32 in I64 registers. VE assumed
sext values previously. Change it to zext values this time to make
it match to the LLVM behaviour.
Reviewed By: simoll
Differential Revision: https://reviews.llvm.org/D92226
2020-11-30 22:12:45 +09:00
Kazushi (Jam) Marukawa
44a4f93925
[VE] Optimize leaf functions
...
Optimize leaf functions by not generating save/restore for callee saved
registers. Update regression tests also.
Reviewed By: simoll
Differential Revision: https://reviews.llvm.org/D91539
2020-11-17 00:38:01 +09:00
Kazushi (Jam) Marukawa
dd6f607ea8
[VE] Implement FoldImmediate
...
Implement FoldImmediate for only integer aritihmetic operations.
Add regression tests also.
Reviewed By: simoll
Differential Revision: https://reviews.llvm.org/D91150
2020-11-11 08:08:32 +09:00
Simon Moll
1943b7f15d
[VE][NFC] move scalar tests to Scalar/
...
Restructure lit tests to follow downstream
Reviewed By: kaz7
Differential Revision: https://reviews.llvm.org/D90468
2020-10-30 16:44:32 +01:00