llvm-6502/lib
Duncan Sands b2cbdc35ba Simplify binary operations where one operand is a select instruction.
The simplifications performed here never create new instructions, they
only return existing instructions (or a constant), and so are always a
win.  In theory they should transform (for example)
  %z = and i32 %x, %y
  %s = select i1 %cond, i32 %y, i32 %z
  %r = and i32 %x, %s
into
  %r = and i32 %x, y
but in practice they get into a fight with instcombine, and lose.
Unfortunately instcombine does a poor job in this case.  Nonetheless
I'm committing this transform to make it easier to discuss what to
do to make peace with instcombine.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118679 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-10 13:00:08 +00:00
..
Analysis Simplify binary operations where one operand is a select instruction. 2010-11-10 13:00:08 +00:00
Archive
AsmParser Add a new 'hotpatch' attribute. This attribute will insert a two-byte no-op 2010-10-25 15:37:09 +00:00
Bitcode Fix PR8494: when reading invalid bitcode, getTypeByID may return 2010-10-28 15:47:26 +00:00
CodeGen Simplify the LiveRangeEdit::canRematerializeAt() interface a bit. 2010-11-10 01:05:12 +00:00
CompilerDriver Rename FindExecutable to PrependMainExecutablePath. 2010-11-03 16:14:16 +00:00
ExecutionEngine Move the remaining attribute macros to systematic names based on the attribute 2010-10-23 08:40:19 +00:00
Linker GetDLLSuffix: Remove the leading dot from LTDL_SHLIB_EXT. 2010-11-02 20:32:59 +00:00
MC Update ARMConstantPoolValue to not use a modifier string. Use an explicit 2010-11-10 03:26:07 +00:00
Support Fix memory leak in StringRef::edit_distance(). 'Allocated' could be leaked on an early return. 2010-11-07 06:09:02 +00:00
System Win32/Process.inc: [PR8527] Process::FileDescriptorIsDisplayed(fd) should not check by FILE_TYPE_CHAR. It must be better to check it with Console API. 2010-11-10 08:37:47 +00:00
Target Update ARMConstantPoolValue to not use a modifier string. Use an explicit 2010-11-10 03:26:07 +00:00
Transforms When checking that the necessary bits are zero in 2010-11-10 01:30:56 +00:00
VMCore Last try to get this reference counting right, I swear. 2010-11-09 17:47:10 +00:00
Makefile