summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRPrinter.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-08-06 16:49:30 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-08-06 16:49:30 +0000
commit10fd03857fe80159c9a82802b17df693b2ea7fe0 (patch)
treeb179731404d87d1661a413551e76e54e7c4b14fb /llvm/lib/CodeGen/MIRPrinter.cpp
parent6872455c6d9199e9be9bc7f931f82145045e7b2c (diff)
downloadbcm5719-llvm-10fd03857fe80159c9a82802b17df693b2ea7fe0.tar.gz
bcm5719-llvm-10fd03857fe80159c9a82802b17df693b2ea7fe0.zip
MIR Serialization: Serialize the 'non-temporal' machine memory operand flag.
llvm-svn: 244228
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp
index a166dd58fe4..c84cec9ed2e 100644
--- a/llvm/lib/CodeGen/MIRPrinter.cpp
+++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -655,6 +655,8 @@ void MIPrinter::print(const MachineMemOperand &Op) {
// TODO: Print operand's other flags.
if (Op.isVolatile())
OS << "volatile ";
+ if (Op.isNonTemporal())
+ OS << "non-temporal ";
if (Op.isLoad())
OS << "load ";
else {
OpenPOWER on IntegriCloud