diff options
| author | Chad Rosier <mcrosier@apple.com> | 2012-05-11 21:33:49 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2012-05-11 21:33:49 +0000 |
| commit | aa9cb9df591f4270bcb56154b07425e0232e64b0 (patch) | |
| tree | af67311c439008c74bb9dcb7df61b06c32538c9c /llvm/lib | |
| parent | 5edcf8822d1063d290eee11883678c168f36d521 (diff) | |
| download | llvm-aa9cb9df591f4270bcb56154b07425e0232e64b0.zip llvm-aa9cb9df591f4270bcb56154b07425e0232e64b0.tar.gz llvm-aa9cb9df591f4270bcb56154b07425e0232e64b0.tar.bz2 | |
[fast-isel] Add support for selecting @llvm.trap().
llvm-svn: 156646
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 9dff017..97131cd 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -2443,6 +2443,10 @@ bool ARMFastISel::SelectIntrinsicCall(const IntrinsicInst &I) { return SelectCall(&I, "memset"); } + case Intrinsic::trap: { + BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(ARM::TRAP)); + return true; + } } } |
