diff options
| author | Chad Rosier <mcrosier@apple.com> | 2013-03-07 21:38:33 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2013-03-07 21:38:33 +0000 |
| commit | 3a200e1faf1e66ea4f899621aded0d664bb0ef81 (patch) | |
| tree | 7e1bbe85429aa15a661f8795fbb6abe40331eabc /llvm/lib | |
| parent | a8ec7eb9cfe2adeb1b5d03a94f6cee70972e47b7 (diff) | |
| download | bcm5719-llvm-3a200e1faf1e66ea4f899621aded0d664bb0ef81.tar.gz bcm5719-llvm-3a200e1faf1e66ea4f899621aded0d664bb0ef81.zip | |
[fast-isel] Seriously, add support for the expect intrinsic.
rdar://13370942
llvm-svn: 176659
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 35f7fcbd390..4fb9c5c8a03 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -699,9 +699,9 @@ bool FastISel::SelectCall(const User *I) { return true; } case Intrinsic::expect: { -// unsigned ResultReg = getRegForValue(Call->getArgOperand(0)); -// UpdateValueMap(Call, ResultReg); -// return true; + unsigned ResultReg = getRegForValue(Call->getArgOperand(0)); + UpdateValueMap(Call, ResultReg); + return true; } } |

