summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/function-encoding-rel-operands.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Bitcode/function-encoding-rel-operands.ll')
-rw-r--r--llvm/test/Bitcode/function-encoding-rel-operands.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/function-encoding-rel-operands.ll b/llvm/test/Bitcode/function-encoding-rel-operands.ll
index 1307dd48337..9486e04a0d5 100644
--- a/llvm/test/Bitcode/function-encoding-rel-operands.ll
+++ b/llvm/test/Bitcode/function-encoding-rel-operands.ll
@@ -4,6 +4,15 @@
; RUN: verify-uselistorder < %s
; CHECK: FUNCTION_BLOCK
+; CHECK: INST_UNOP {{.*}}op0=1
+; CHECK: INST_RET {{.*}}op0=1
+define double @test_float_unops(double %a) nounwind {
+ %1 = fneg double %a
+ ret double %1
+}
+
+
+; CHECK: FUNCTION_BLOCK
; CHECK: INST_BINOP {{.*}}op0=1 op1=1
; CHECK: INST_BINOP {{.*}}op0=1 op1=1
; CHECK: INST_BINOP {{.*}}op0=1 op1=1
OpenPOWER on IntegriCloud