LLVM backend for 6502
Go to file
Sanjay Patel 821bba7fda avoid infinite looping when folding vector multiplies of constants (PR22698)
We were missing a check for the following fold in DAGCombiner:

// fold (fmul (fmul x, c1), c2) -> (fmul x, (fmul c1, c2))

If 'x' is also a constant, then we shouldn't do anything. Otherwise, we could end up swapping the operands back and forth forever.

This should fix:
http://llvm.org/bugs/show_bug.cgi?id=22698

Differential Revision: http://reviews.llvm.org/D7917



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230884 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-01 00:09:35 +00:00
autoconf Revert r230812. Do not break builds for no reason. 2015-02-28 19:43:20 +00:00
bindings [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
cmake Minor follow-ups to r229720 suggested on llvmdev 2015-02-27 18:22:46 +00:00
docs [OCaml] Generate documentation again with autoconf buildsystem. 2015-02-28 13:48:23 +00:00
examples [Orc][Kaleidoscope] More tutorial cleanup, a little extra debugging output. 2015-02-26 23:52:42 +00:00
include Fix buildbot issues for MDScope::getFile() after r230871 2015-02-28 21:58:10 +00:00
lib avoid infinite looping when folding vector multiplies of constants (PR22698) 2015-03-01 00:09:35 +00:00
projects
test avoid infinite looping when folding vector multiplies of constants (PR22698) 2015-03-01 00:09:35 +00:00
tools [llvm-pdbdump] Better error handling. 2015-02-28 20:23:18 +00:00
unittests IR: Specialize MDScope::getFile() for MDFile 2015-02-28 21:47:02 +00:00
utils Silence variable set but not used warning in CodeGenRegisters.cpp, NFC. 2015-02-28 15:54:04 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore Add one more vim swap file pattern 2015-01-30 21:59:28 +00:00
CMakeLists.txt Minor follow-ups to r229720 suggested on llvmdev 2015-02-27 18:22:46 +00:00
CODE_OWNERS.TXT Assume code ownership for the PS4 to ensure patches get reviewed, per the Developer Policy. 2015-01-28 18:33:39 +00:00
configure Revert r230812. Do not break builds for no reason. 2015-02-28 19:43:20 +00:00
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
README.txt Revert test commit 2015-02-04 18:46:00 +00:00

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're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.