Initial implementation of 'fence' instruction, the new C++0x-style replacement for llvm.memory.barrier.

This is just a LangRef entry and reading/writing/memory representation; optimizer+codegen support coming soon.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136009 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Friedman
2011-07-25 23:16:38 +00:00
parent 5a1cb644c9
commit 47f3513dd5
18 changed files with 392 additions and 32 deletions

View File

@@ -127,6 +127,7 @@ const char *Instruction::getOpcodeName(unsigned OpCode) {
case Alloca: return "alloca";
case Load: return "load";
case Store: return "store";
case Fence: return "fence";
case GetElementPtr: return "getelementptr";
// Convert instructions...