llvm-project/llvm
Sanjay Patel cafdeb1aa6 [InstCombine] allow SimplifyDemandedVectorElts to work with FP binops
We're a long way from D50992 and D51553, but this is where we have to start.
We weren't back-propagating undefs into binop constant values for anything but
add/sub/mul/and/or/xor. 

This is likely because we have to be careful about not introducing UB/poison 
with div/rem/shift. But I suspect we already are getting the poison part wrong 
for add/sub/mul (although it may not be possible to expose the bug currently
because we use SimplifyDemandedVectorElts from a limited set of opcodes).
See the discussion/implementation from D48987 and D49047.

This patch just enables functionality for FP ops because those do not have 
UB/poison potential.

llvm-svn: 343727
2018-10-03 21:44:59 +00:00
..
benchmarks Pull google/benchmark library to the LLVM tree 2018-08-28 09:42:41 +00:00
bindings [bindings/go] Add Go bindings to the Token type 2018-09-28 17:39:59 +00:00
cmake Move llvm util dependencies from clang-tools-extra to add_lit_target. 2018-10-01 14:00:51 +00:00
docs The llvm-exegesis output file is a html file not a txt file. 2018-09-27 13:49:52 +00:00
examples [ORC] Fix BuildingAJIT tutorial examples that were broken by r343059. 2018-09-26 04:00:58 +00:00
include Emit template type and value parameter DIEs for template variables. 2018-10-03 18:44:53 +00:00
lib [InstCombine] allow SimplifyDemandedVectorElts to work with FP binops 2018-10-03 21:44:59 +00:00
projects
resources
runtimes
test [InstCombine] allow SimplifyDemandedVectorElts to work with FP binops 2018-10-03 21:44:59 +00:00
tools Emit template type and value parameter DIEs for template variables. 2018-10-03 18:44:53 +00:00
unittests Emit template type and value parameter DIEs for template variables. 2018-10-03 18:44:53 +00:00
utils Use the container form llvm::sort(C, ...) 2018-09-30 22:31:29 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [WebAssembly] Revert r342701, "Add WebAssembly to LLVM_ALL_TARGTS." 2018-09-21 03:24:42 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt Test commit. 2018-09-22 01:01:03 +00:00
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

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.