diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-07-25 23:16:38 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-07-25 23:16:38 +0000 |
commit | fee02c6c1378f7244e05157aa9b07da77061fb64 (patch) | |
tree | 5fe5c224e99b98699f84e5fc8d0e74c70535ee25 /llvm/lib/VMCore/Instruction.cpp | |
parent | 15e2d90746f8ca9f5d4b29cafc0a4493daeb54cb (diff) | |
download | bcm5719-llvm-fee02c6c1378f7244e05157aa9b07da77061fb64.tar.gz bcm5719-llvm-fee02c6c1378f7244e05157aa9b07da77061fb64.zip |
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.
llvm-svn: 136009
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp index 4627e7182b1..4597b575e8d 100644 --- a/llvm/lib/VMCore/Instruction.cpp +++ b/llvm/lib/VMCore/Instruction.cpp @@ -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... |