1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test
Joel Jones 305ecb3495 Fix a problem with incomplete equality testing of PHINodes in
Instruction::IsIdenticalToWhenDefined.

This manifested itself when inlining two calls to the same function.  The 
inlined function had a switch statement that returned one of a set of 
global variables.  Without this modification, the two phi instructions that 
chose values from the branches of the switch instruction inlined from the 
callee were considered equivalent and jump-threading replaced a load for the 
first switch value with a phi selecting from the second switch, thereby 
producing incorrect code.

This patch has been tested with "make check-all", "lnt runteste nt", and 
llvm self-hosted, and on the original program that had this problem, 
wireshark.

<rdar://problem/11025519>

llvm-svn: 156548
2012-05-10 15:59:41 +00:00
..
Analysis FileCheck-ize tests. 2012-04-24 10:45:44 +00:00
Archive
Assembler Remove old 'grep' lines. 2012-04-08 11:53:54 +00:00
Bindings/Ocaml Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
Bitcode Rejected r156374: Ordinary PR1255 patch. Due to clang-x86_64-debian-fnt buildbot failure. 2012-05-08 08:33:21 +00:00
BugPoint
CodeGen AVX2: Add an additional broadcast idiom. 2012-05-10 12:39:13 +00:00
DebugInfo Handle OpDeref in case it comes in as a register operand. 2012-05-08 18:56:00 +00:00
ExecutionEngine This patch improves the MCJIT runtime dynamic loader by adding new handling 2012-04-12 20:13:57 +00:00
Feature This file is no longer needed (DejaGNU-isms removed from code) 2012-03-25 12:43:54 +00:00
Instrumentation [tsan] Atomic support for ThreadSanitizer, patch by Dmitry Vyukov 2012-04-27 07:31:53 +00:00
Integer
Linker Remove llvm-ld and llvm-stub (which is only used by llvm-ld). 2012-04-19 19:27:54 +00:00
MC Fix issues with the ARM bl and blx thumb instructions and the J1 and J2 bits 2012-05-03 22:41:56 +00:00
Object Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
Other Reapply r155682, making constant folding more consistent, with a fix to work 2012-04-27 17:50:22 +00:00
Scripts
TableGen Fix infinite loop in nested multiclasses. 2012-03-07 16:39:35 +00:00
Transforms Fix a problem with incomplete equality testing of PHINodes in 2012-05-10 15:59:41 +00:00
Unit
Verifier Remove support for the special 'fast' value for fpmath accuracy for the moment. 2012-04-16 19:39:33 +00:00
YAMLParser Add YAML parser to Support. 2012-04-03 23:09:22 +00:00
CMakeLists.txt Removes json-bench from the test dependencies. 2012-04-20 13:45:49 +00:00
lit.cfg Remove llvm-ld and llvm-stub (which is only used by llvm-ld). 2012-04-19 19:27:54 +00:00
lit.site.cfg.in Revert r153694. It was causing failures in the buildbots. 2012-03-29 23:23:59 +00:00
Makefile Revert r156393, "[tests] Remove some remaining DejaGNU related cruft.", this 2012-05-08 18:26:07 +00:00
Makefile.tests
site.exp.in
TestRunner.sh