summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/global_variables
diff options
context:
space:
mode:
authorShiva Chen <shiva0217@gmail.com>2019-08-28 23:40:37 +0000
committerShiva Chen <shiva0217@gmail.com>2019-08-28 23:40:37 +0000
commitb39876d8cddb3d16b69481810151604ab6afa542 (patch)
treefdfd090d32cc1a6a47e8e460199fde1785d682e3 /lldb/packages/Python/lldbsuite/test/lang/cpp/global_variables
parentf91b6f8159b101688eef87c75179209699c0d405 (diff)
downloadbcm5719-llvm-b39876d8cddb3d16b69481810151604ab6afa542.tar.gz
bcm5719-llvm-b39876d8cddb3d16b69481810151604ab6afa542.zip
[RISCV] Avoid generating AssertZext for LP64 ABI when lowering floating LibCall
The patch fixed the issue that RV64 didn't clear the upper bits when return complex floating value with lp64 ABI. float _Complex complex_add(float _Complex a, float _Complex b) { return a + b; } RealResult = zero_extend(RealA + RealB) ImageResult = ImageA + ImageB Return (RealResult | (ImageResult << 32)) The patch introduces shouldExtendTypeInLibCall target hook to suppress the AssertZext generation when lowering floating LibCall. Thanks to Eli's comments from the Bugzilla https://bugs.llvm.org/show_bug.cgi?id=42820 Differential Revision: https://reviews.llvm.org/D65497 llvm-svn: 370275
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/global_variables')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud