llvm-project/llvm
Matthias Braun 4e67e5c91a X86ISelLowering: Fix cmov(cmov) special lowering bug
There's a special case in EmitLoweredSelect() that produces an improved
lowering for cmov(cmov) patterns. However this special lowering is
currently broken if the inner cmov has multiple users so this patch
stops using it in this case.

If you wonder why this wasn't fixed by continuing to use the special
lowering and inserting a 2nd PHI for the inner cmov: I believe this
would incur additional copies/register pressure so the special lowering
does not improve upon the normal one anymore in this case.

This fixes http://llvm.org/PR26256 (= rdar://24329747)

llvm-svn: 258729
2016-01-25 22:08:25 +00:00
..
autoconf Update version to 3.9. 2016-01-13 17:32:32 +00:00
bindings Deprecate a few C APIs. 2015-12-18 23:46:42 +00:00
cmake Reapplying r256836 with a fix for MSVC 14 support. 2016-01-25 14:17:39 +00:00
docs [libFuzzer] add -abort_on_timeout option 2016-01-23 19:34:19 +00:00
examples Fix examples corresponding to r257302. 2016-01-11 05:04:20 +00:00
include Fix a typo 2016-01-25 20:38:13 +00:00
lib X86ISelLowering: Fix cmov(cmov) special lowering bug 2016-01-25 22:08:25 +00:00
projects
resources
test X86ISelLowering: Fix cmov(cmov) special lowering bug 2016-01-25 22:08:25 +00:00
tools [ARM] Add DSP build attribute and extension targeting 2016-01-25 11:26:11 +00:00
unittests Add a test showing we can write a vector of floats. 2016-01-25 19:02:20 +00:00
utils [TableGen] Fix sort order of asm operand classes 2016-01-25 10:20:19 +00:00
.arcconfig
.clang-format
.clang-tidy adding readability-identifier-naming to llvm clang-tidy configuration. 2015-12-08 17:44:51 +00:00
.gitignore
CMakeLists.txt [GlobalISel] Add the proper cmake plumbing. 2016-01-20 20:58:56 +00:00
CODE_OWNERS.TXT The PS4 baton passes. 2015-12-19 20:04:03 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
README.txt Revert previous test commit. 2016-01-04 19:13:29 +00:00
configure Update version to 3.9. 2016-01-13 17:32:32 +00:00
llvm.spec.in

README.txt

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.

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.