summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/Hexagon/inline-asm-i1.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Hexagon/inline-asm-i1.ll b/llvm/test/CodeGen/Hexagon/inline-asm-i1.ll
index c88c30e5e81..cc1f4ce55da 100644
--- a/llvm/test/CodeGen/Hexagon/inline-asm-i1.ll
+++ b/llvm/test/CodeGen/Hexagon/inline-asm-i1.ll
@@ -1,3 +1,7 @@
+; RUN: llc -march=hexagon < %s | FileCheck %s
+; CHECK: r[[REG0:[0-9]+]] = usr
+; CHECK: [[REG0]] = insert(r{{[0-9]+}}, #1, #16)
+
target triple = "hexagon"
define hidden void @fred() #0 {
OpenPOWER on IntegriCloud