Old fork of llvm-mirror, used on older RPCS3 builds
Go to file
Bill Wendling 1fb43c32ed The method of doing the matching with a 'select' instruction was wrong. The
original code was matching like this:

	if (match(A, m_Not(m_Value(B))))

B was already matched as a 'select' instruction. However, this isn't matching
what we think it's matching. It would match B as a 'Value', so basically
anything would match to it. In this case, a Constant matched. B was replaced
with a constant representation. And then the wrong value would be used in the
SelectInst::Create statement, causing a crash.

After thinking on this for a moment, and after Nick L. told me how the pattern
matching stuff was supposed to work, the solution was to match NOT an m_Value,
but an m_Select.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58946 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-09 23:17:42 +00:00
autoconf Add XCore backend. 2008-11-07 10:59:00 +00:00
bindings PR2731: C and Ocaml bindings for setTailCall and isTailCall. 2008-08-30 16:34:54 +00:00
cmake CMake: Support for cross-compiling. For now, requires a previously 2008-11-09 18:53:19 +00:00
docs fix validation problem. 2008-11-09 17:19:14 +00:00
examples CMake: use add_llvm_example for HowToUseJIT. 2008-10-22 02:52:59 +00:00
include Temporary revert my last commit: it seems it's triggering some subtle bug in backend 2008-11-08 23:05:05 +00:00
lib The method of doing the matching with a 'select' instruction was wrong. The 2008-11-09 23:17:42 +00:00
projects Add "sample" documentation to sample project. 2008-09-15 05:31:29 +00:00
runtime
test The method of doing the matching with a 'select' instruction was wrong. The 2008-11-09 23:17:42 +00:00
tools CMake: Corrected detection of `nm'. 2008-11-09 20:26:31 +00:00
utils Allow $CALL and $ENV in command names. Fixes #3025. 2008-11-08 19:43:32 +00:00
website
win32 remove unavailable clang project 2008-11-08 01:02:44 +00:00
Xcode Remove Stacker.html from Xcode project. 2008-10-14 23:23:59 +00:00
build-for-llvm-top.sh
CMakeLists.txt CMake: Support for cross-compiling. For now, requires a previously 2008-11-09 18:53:19 +00:00
configure Add XCore backend. 2008-11-07 10:59:00 +00:00
CREDITS.TXT Keep CREDITS.TXT sorted by name. 2008-11-07 12:44:36 +00:00
LICENSE.TXT
llvm.spec.in
Makefile Add support for Canadian Cross builds where the host executables are not 2008-10-02 22:56:44 +00:00
Makefile.common
Makefile.config.in Use spaces rather than tab. 2008-10-22 09:42:14 +00:00
Makefile.rules Comment fix. 2008-11-03 17:33:36 +00:00
ModuleInfo.txt
README.txt Remove extra lines 2008-07-28 20:50:25 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level 
Virtual Machine, 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 HTML documentation provided in docs/index.html for further
assistance with LLVM.