Go to file
Pavel Labath c7c9d76187 IRInterpreter: fix sign extension of small types (pr37840)
Sign-extension of small types (e.g. short) was not handled correctly.
The reason for that was that when we were assigning the a value to the
Scalar object, we would accidentally promote the type to int (even
though the assignment code in AssignTypeToMatch tried to cast the value
to the appropriate type, it would still invoke the "int" version of
operator=). Instead, I use the APInt version of operator=, where the
bitwidth is specified explicitly. Among other things, this allows us to
fold the individual size cases into one.

llvm-svn: 335114
2018-06-20 10:45:29 +00:00
clang [SPIR] Prevent SPIR targets from using half conversion intrinsics 2018-06-20 09:49:40 +00:00
clang-tools-extra [clangd] Use workspace root path as hint path for resolving URIs in workspace/symbol 2018-06-19 09:33:53 +00:00
compiler-rt [asan] Add flushes to try to fix test 2018-06-20 01:09:51 +00:00
debuginfo-tests [debuginfo-tests] Always use the system python to invoke llgdb.py. 2018-06-10 19:38:26 +00:00
libclc Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
libcxx Fix libcxx tests after clang r334677. 2018-06-17 19:58:45 +00:00
libcxxabi Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
libunwind Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
lld [ELF] Support -z initfirst 2018-06-20 02:06:01 +00:00
lldb IRInterpreter: fix sign extension of small types (pr37840) 2018-06-20 10:45:29 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [llvm-mca][X86] Teach how to identify register writes that implicitly clear the upper portion of a super-register. 2018-06-20 10:08:11 +00:00
openmp Remove liboffload from repository 2018-06-19 19:08:17 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly Move ScopInfo to isl++ 2018-06-19 08:13:53 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

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