llvm-6502/test
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
..
Analysis Don't crash analyzing certain quadratics (addrec of {X,+,Y,+,1}). 2008-11-03 02:43:49 +00:00
Archive
Assembler
Bindings/Ocaml [PR2886] Ignore stderr from ocamlc since it prints unresolvable warnings on some platforms. 2008-10-22 12:41:54 +00:00
Bitcode
BugPoint
CodeGen XFAIL this while waiting for a fix. 2008-11-09 13:07:47 +00:00
DebugInfo Handle (delete) dbg intrinsics while promoting alloca. 2008-11-07 01:30:07 +00:00
ExecutionEngine
Feature
FrontendAda
FrontendC The method of doing the matching with a 'select' instruction was wrong. The 2008-11-09 23:17:42 +00:00
FrontendC++ Testcase for PR2917. 2008-10-29 18:06:20 +00:00
FrontendFortran Testcase for recent llvm-gcc fix 2008-11-03 14:43:31 +00:00
FrontendObjC
FrontendObjC++
Integer
lib Fix make check on Solaris 10/x86: the default grep is not GNU grep, same for as. 2008-10-21 17:21:32 +00:00
Linker Add global variable to test for consistency 2008-10-15 20:22:44 +00:00
LLVMC Add LLVMC2 tool definitions for Objective-C and Objective-C++. 2008-11-08 03:25:47 +00:00
Other Testcase for PR2894. 2008-10-15 22:34:34 +00:00
Scripts
TableGen Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
Transforms If the LHS of the FCMP is coming from a UIToFP instruction, then we don't want 2008-11-09 04:26:50 +00:00
Verifier
Makefile Fix make check on Solaris 10/x86: the default grep is not GNU grep, same for as. 2008-10-21 17:21:32 +00:00
Makefile.tests
TestRunner.sh