projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hexagon: add support for predicate-GPR copies.
[oota-llvm.git]
/
test
/
CodeGen
/
Hexagon
/
predicate-copy.ll
diff --git a/test/CodeGen/Hexagon/predicate-copy.ll
b/test/CodeGen/Hexagon/predicate-copy.ll
new file mode 100644
(file)
index 0000000..
552b687
--- /dev/null
+++ b/
test/CodeGen/Hexagon/predicate-copy.ll
@@ -0,0
+1,8
@@
+; RUN: llc -march=hexagon -mcpu=hexagonv4 -O3 < %s | FileCheck %s
+
+; CHECK: r{{[0-9]+}} = p{{[0-9]+}}
+define i1 @foo() {
+entry:
+ ret i1 false
+}
+