llvm-6502/lib
Chandler Carruth 602650c988 Add a routine to swap branch instruction operands, and update any
profile metadata at the same time. Use it to preserve metadata attached
to a branch when re-writing it in InstCombine.

Add metadata to the canonicalize_branch InstCombine test, and check that
it is tranformed correctly.

Reviewed by Nick Lewycky!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142168 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-17 01:11:57 +00:00
..
Analysis Delete a dead member. Dunno if this was ever used, but the current code 2011-10-16 22:27:54 +00:00
Archive Rewrite the CMake build to use explicit dependencies between libraries, 2011-07-29 00:14:25 +00:00
AsmParser Make SMDiagnostic a little more sane. Instead of passing around note/warning/error as a 2011-10-16 05:43:57 +00:00
Bitcode Also update the EH with bitcode. I missed this earlier. Thanks to Duncan for pointing it out. 2011-10-05 07:04:14 +00:00
CodeGen Enable element promotion type legalization by deafault. 2011-10-16 20:31:33 +00:00
DebugInfo lib/DebugInfo/DWARFDebugLine.cpp: De-Unicode-ify. 2011-10-08 11:22:47 +00:00
ExecutionEngine MCJIT initialization TargetData 2011-09-30 16:40:10 +00:00
Linker Allow the source module to be materialized during the linking process. 2011-10-14 22:17:46 +00:00
MC Let printf do the formatting instead aligning strings ourselves. 2011-10-16 16:30:34 +00:00
Object ELF: Fix the section that relocations apply to. Add test to verify. Patch by Danil Malyshev! 2011-10-13 22:30:10 +00:00
Support Let printf do the formatting instead aligning strings ourselves. 2011-10-16 16:30:34 +00:00
TableGen Make SMDiagnostic a little more sane. Instead of passing around note/warning/error as a 2011-10-16 05:43:57 +00:00
Target Add X86 PEXTR and PDEP instructions. 2011-10-16 16:50:08 +00:00
Transforms Add a routine to swap branch instruction operands, and update any 2011-10-17 01:11:57 +00:00
VMCore Add a routine to swap branch instruction operands, and update any 2011-10-17 01:11:57 +00:00
CMakeLists.txt Move TableGen's parser and entry point into a library 2011-10-01 16:41:13 +00:00
Makefile Remove more of llvmc and dependencies. 2011-09-20 00:34:27 +00:00