diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-02-09 15:30:02 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-02-09 15:30:02 +0000 |
| commit | 7cfe7cbcccddf4385b679a4818c4aa8dd5d98fed (patch) | |
| tree | 182be14ba06a526f4bd056164a89999d69ef31a5 /llvm/test | |
| parent | be58c9605db6eb772dcad678bc61177e6ebfc829 (diff) | |
| download | bcm5719-llvm-7cfe7cbcccddf4385b679a4818c4aa8dd5d98fed.tar.gz bcm5719-llvm-7cfe7cbcccddf4385b679a4818c4aa8dd5d98fed.zip | |
[Hexagon] Express calling conventions via .td file instead of hand-coding
Additionally, simplify the rest of the argument/parameter lowering code.
llvm-svn: 324737
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/Hexagon/vec-vararg-align.ll | 2 | ||||
| -rw-r--r-- | llvm/test/MC/Hexagon/inst_select.ll | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/Hexagon/vec-vararg-align.ll b/llvm/test/CodeGen/Hexagon/vec-vararg-align.ll index 0101c1ffa8a..90a458db1b7 100644 --- a/llvm/test/CodeGen/Hexagon/vec-vararg-align.ll +++ b/llvm/test/CodeGen/Hexagon/vec-vararg-align.ll @@ -1,7 +1,7 @@ ; RUN: llc -march=hexagon < %s | FileCheck %s ; ; Check that the stack is aligned according to the outgoing function arguments. -; CHECK: r29 = and(r29,#-128) +; CHECK: r29 = and(r29,#-64) target triple = "hexagon-unknown--elf" diff --git a/llvm/test/MC/Hexagon/inst_select.ll b/llvm/test/MC/Hexagon/inst_select.ll index a730419c854..a956b2a031d 100644 --- a/llvm/test/MC/Hexagon/inst_select.ll +++ b/llvm/test/MC/Hexagon/inst_select.ll @@ -7,7 +7,7 @@ define i32 @foo (i1 %a, i32 %b, i32 %c) ret i32 %1 } -; CHECK: 00 40 40 85 85404000 -; CHECK: 00 40 9f 52 529f4000 -; CHECK: 00 60 01 74 74016000 -; CHECK: 00 e0 82 74 7482e000 +; CHECK: 00 40 00 85 85004000 { p0 = tstbit(r0,#0) +; CHECK: 00 40 9f 52 529f4000 jumpr r31 +; CHECK: 00 60 01 74 74016000 if (p0.new) r0 = add(r1,#0) +; CHECK: 00 e0 82 74 7482e000 if (!p0.new) r0 = add(r2,#0) } |

