Go to file
Sanjay Patel 014c000f6a [DAG] make binops with undef operands consistent with IR
This started by noticing that scalar and vector types were producing different results with div ops in PR36305:
https://bugs.llvm.org/show_bug.cgi?id=36305

...but the problem is bigger. I couldn't keep it straight without a table, so I'm attaching that as a PDF to 
the review. The x86 tests in undef-ops.ll correspond to that table.

Green means that instsimplify and the DAG agree on the result for all types.
Red means the DAG was returning undef when IR was not.
Yellow means the DAG was returning a non-undef result when IR returned undef.

This patch assumes that we're currently doing the right thing in IR.

Note: I couldn't find any problems with lowering vector constants as the code comments were warning, 
but those comments were written long ago in rL36413 .

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

llvm-svn: 324941
2018-02-12 21:37:27 +00:00
clang [AArch64] Fixes for ARMv8.2-A FP16 scalar intrinsic - clang portion 2018-02-12 21:26:06 +00:00
clang-tools-extra [clangd] Log all ignored diagnostics. 2018-02-12 12:48:51 +00:00
compiler-rt [sanitizer] Size class map & local cache improvements 2018-02-12 16:59:17 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc Add vstore_half_rte implementation 2018-02-06 18:44:50 +00:00
libcxx Implement LWG 2835 - fix <tgmath.h> 2018-02-12 19:13:24 +00:00
libcxxabi Fix compilation in C++17 mode. 2018-02-07 23:23:23 +00:00
libunwind [cmake] [libunwind] LLVM_FOUND isn't always set, so just test if 2018-01-27 19:31:44 +00:00
lld Fixed extra ‘;’ warning 2018-02-11 02:32:21 +00:00
lldb Remove the pubnames support from the Xcode project. 2018-02-12 20:25:37 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [DAG] make binops with undef operands consistent with IR 2018-02-12 21:37:27 +00:00
openmp [OpenMP][libomptarget] Enable the compilation of multiple bc libraries for runtime inlining 2018-02-12 16:45:20 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopBuilder] scalar-indep: Fix mutually referencing PHIs. 2018-02-12 21:09:40 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

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.