llvm/lib
Renato Golin dca126522d Small refactor on VectorizerHint for deduplication
Previously, the hint mechanism relied on clean up passes to remove redundant
metadata, which still showed up if running opt at low levels of optimization.
That also has shown that multiple nodes of the same type, but with different
values could still coexist, even if temporary, and cause confusion if the
next pass got the wrong value.

This patch makes sure that, if metadata already exists in a loop, the hint
mechanism will never append a new node, but always replace the existing one.
It also enhances the algorithm to cope with more metadata types in the future
by just adding a new type, not a lot of code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215994 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-19 17:30:43 +00:00
..
Analysis Answer to Philip Reames comments 2014-08-18 22:18:14 +00:00
AsmParser Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
Bitcode
CodeGen
DebugInfo
ExecutionEngine Make it explicit that ExecutionEngine takes ownership of the modules. 2014-08-19 04:04:25 +00:00
IR Reapply r215966, r215965, r215964, r215963, r215960, r215959, r215958, and r215957 2014-08-19 16:39:58 +00:00
IRReader Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
LineEditor
Linker
LTO
MC
Object Make llvm-objdump handle both arm and thumb disassembly from the same Mach-O 2014-08-18 20:21:02 +00:00
Option
ProfileData
Support
TableGen
Target [mips] Add assembler support for .set arch=x directive. 2014-08-19 14:22:52 +00:00
Transforms Small refactor on VectorizerHint for deduplication 2014-08-19 17:30:43 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile