1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
Go to file
Bjorn Pettersson 1647429cc3 [DebugInfo] Fix DwarfExpression::addConstantFP for float on big-endian
The byte swapping, when dealing with 4 byte (float) FP constants
in DwarfExpression::addConstantFP, added in commit ef8992b9f0189005
was not correct. It always performed byte swapping using an
uint64_t value. When dealing with 4 byte values the 4 interesting
bytes ended up in the big end of the uint64_t, but later we emitted
the 4 bytes at the little end. So we ended up with zeroes being
emitted and faulty debug information.

This patch simplifies things a bit, IMHO. Using the APInt
representation throughout the function, instead of looking at
the internal representation using getRawBytes and without using
reinterpret_cast etc. And using API.byteSwap() should result in
correct byte swapping independent of APInt being 4 or 8 bytes.

Differential Revision: https://reviews.llvm.org/D86272
2020-08-20 11:48:05 +02:00
benchmarks
bindings [Bindings] Remove ipc_propagation. 2020-08-02 22:36:53 +01:00
cmake [CMake] Always mark terminfo as unavailable on Windows 2020-08-19 11:52:26 -07:00
docs [AMDGPU] Correct DWARF register defintions 2020-08-20 01:15:04 +00:00
examples [examples][cmake] build fix for examples with BUILD_SHARED_LIBS=on 2020-08-14 11:39:04 -07:00
include [AMDGPU] Add A16/G16 to InstCombine 2020-08-20 10:51:49 +02:00
lib [DebugInfo] Fix DwarfExpression::addConstantFP for float on big-endian 2020-08-20 11:48:05 +02:00
projects Add few docs and implementation of strcpy and strcat. 2019-10-04 17:30:54 +00:00
resources
runtimes Revert "[AIX] Try to not use LLVM tools while building runtimes" 2020-08-10 21:35:49 -04:00
test [llvm-readobj/elf] - Refine the code for broken PT_DYNAMIC segment diagnostic. 2020-08-20 12:28:34 +03:00
tools [llvm-readobj/elf] - Refine the code for broken PT_DYNAMIC segment diagnostic. 2020-08-20 12:28:34 +03:00
unittests [ADT] Move FixedPoint.h from Clang to LLVM. 2020-08-20 10:29:45 +02:00
utils Revert "[IR] Intrinsics default attributes and opt-out flag" 2020-08-20 00:25:32 -05:00
.clang-format
.clang-tidy - Update .clang-tidy to ignore parameters of main like functions for naming violations in clang and llvm directory 2020-01-31 16:49:45 +00:00
.gitattributes Fix the "git modified" issue on the preserve-comments-crlf.s. 2019-09-10 12:17:49 +00:00
.gitignore [clangd] Store index in '.cache/clangd/index' instead of '.clangd/index' 2020-07-07 14:53:45 +02:00
CMakeLists.txt [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
CODE_OWNERS.TXT Remove Olesen from LLVM code owners 2020-08-05 11:12:10 -07:00
configure
CREDITS.TXT [NFC] It's a test commit, which updates CREDITS.TXT 2020-08-20 11:04:08 +08:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
llvm.spec.in Update structured references to the license to the new license. 2019-01-19 11:30:51 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
README.txt Test commit. 2020-03-14 18:08:26 -07:00
RELEASE_TESTERS.TXT Update the list of platforms & archs 2018-12-16 14:47:16 +00:00

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.