llvm-6502/test
Hal Finkel 8a85dee989 [BDCE] Don't forget uses of root instructions seen before the instruction itself
When visiting the initial list of "root" instructions (those which must always
be alive), for those that are integer-valued (such as invokes returning an
integer), we mark their bits as (initially) all dead (we might, obviously, find
uses of those bits later, but all bits are assumed dead until proven
otherwise). Don't do so, however, if we're already seen a use of those bits by
another root instruction (such as a store).

Fixes a miscompile of the sanitizer unit tests on x86_64.

Also, add a debug line for visiting the root instructions, and remove a debug
line which tried to print instructions being removed (printing dead
instructions is dangerous, and can sometimes crash).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229618 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-18 03:12:28 +00:00
..
Analysis Generalize getExtendAddRecStart to work with both sign and zero 2015-02-18 01:47:07 +00:00
Assembler ConstantFold: Properly fold GEP indices wider than i64 2015-02-16 19:10:02 +00:00
Bindings
Bitcode
BugPoint
CodeGen R600/SI: Add missing offset operand to buffer bothen 2015-02-18 02:04:38 +00:00
DebugInfo
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MC Add testcases I missed in r229541. 2015-02-17 20:50:39 +00:00
Object [Object] Support reading 64-bit MIPS ELF archives 2015-02-17 18:54:22 +00:00
Other
SymbolRewriter
TableGen
tools Add code to llvm-objdump so the -section option with -macho will dump literal pointer sections 2015-02-17 21:35:48 +00:00
Transforms [BDCE] Don't forget uses of root instructions seen before the instruction itself 2015-02-18 03:12:28 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh