diff options
| author | Krzysztof Parzyszek <kparzysz@quicinc.com> | 2019-02-21 19:33:58 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@quicinc.com> | 2019-02-21 19:33:58 +0000 |
| commit | 948c9f93c4017262db155e57e107a76d4276bd8b (patch) | |
| tree | 82cdd36dea7eda03f07d7c896b069ab155b731c6 /llvm/test/CodeGen/Hexagon | |
| parent | 3b75622fd2e749d1c01f667478d79ea7e42c6176 (diff) | |
| download | bcm5719-llvm-948c9f93c4017262db155e57e107a76d4276bd8b.tar.gz bcm5719-llvm-948c9f93c4017262db155e57e107a76d4276bd8b.zip | |
Revert r354606, it breaks asan tests
llvm-svn: 354609
Diffstat (limited to 'llvm/test/CodeGen/Hexagon')
| -rw-r--r-- | llvm/test/CodeGen/Hexagon/trap-crash.ll | 20 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Hexagon/trap-unreachable.ll | 4 |
2 files changed, 1 insertions, 23 deletions
diff --git a/llvm/test/CodeGen/Hexagon/trap-crash.ll b/llvm/test/CodeGen/Hexagon/trap-crash.ll deleted file mode 100644 index e940d98b620..00000000000 --- a/llvm/test/CodeGen/Hexagon/trap-crash.ll +++ /dev/null @@ -1,20 +0,0 @@ -; RUN: llc -march=hexagon < %s | FileCheck %s - -; Generate code that is guaranteed to crash. At the moment, it's a -; misaligned load. -; CHECK: memd(##3134984174) - -target triple = "hexagon" - -; Function Attrs: noreturn nounwind -define i32 @f0() #0 { -entry: - tail call void @llvm.trap() - unreachable -} - -; Function Attrs: cold noreturn nounwind -declare void @llvm.trap() #1 - -attributes #0 = { noreturn nounwind "target-cpu"="hexagonv60" } -attributes #1 = { cold noreturn nounwind } diff --git a/llvm/test/CodeGen/Hexagon/trap-unreachable.ll b/llvm/test/CodeGen/Hexagon/trap-unreachable.ll index b14f1e3c1a5..124b37a5c6c 100644 --- a/llvm/test/CodeGen/Hexagon/trap-unreachable.ll +++ b/llvm/test/CodeGen/Hexagon/trap-unreachable.ll @@ -1,7 +1,5 @@ ; RUN: llc -march=hexagon -trap-unreachable < %s | FileCheck %s - -; Trap is implemented via a misaligned load. -; CHECK: memd(##3134984174) +; CHECK: trap define void @fred() #0 { unreachable |

