summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-03-07 20:42:17 +0000
committerChad Rosier <mcrosier@apple.com>2013-03-07 20:42:17 +0000
commit9c1796f8775ec64e42bf845703cc7b06e1804924 (patch)
tree669d0515c5236456867637af4c59ad1af8d2c073 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
parentfdf362bd698d389c33b034a781e8ca0d8488abc5 (diff)
downloadbcm5719-llvm-9c1796f8775ec64e42bf845703cc7b06e1804924.tar.gz
bcm5719-llvm-9c1796f8775ec64e42bf845703cc7b06e1804924.zip
[fast-isel] Add support for the expect intrinsic.
rdar://13370942 llvm-svn: 176649
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index a11f434ae00..35f7fcbd390 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -698,6 +698,11 @@ bool FastISel::SelectCall(const User *I) {
UpdateValueMap(Call, ResultReg);
return true;
}
+ case Intrinsic::expect: {
+// unsigned ResultReg = getRegForValue(Call->getArgOperand(0));
+// UpdateValueMap(Call, ResultReg);
+// return true;
+ }
}
// Usually, it does not make sense to initialize a value,
OpenPOWER on IntegriCloud