diff options
| author | Chad Rosier <mcrosier@apple.com> | 2013-03-07 20:42:17 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2013-03-07 20:42:17 +0000 |
| commit | 9c1796f8775ec64e42bf845703cc7b06e1804924 (patch) | |
| tree | 669d0515c5236456867637af4c59ad1af8d2c073 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
| parent | fdf362bd698d389c33b034a781e8ca0d8488abc5 (diff) | |
| download | bcm5719-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.cpp | 5 |
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, |

