summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/fp16-ops.c
diff options
context:
space:
mode:
authorCameron McInally <cameron.mcinally@nyu.edu>2019-10-14 15:35:01 +0000
committerCameron McInally <cameron.mcinally@nyu.edu>2019-10-14 15:35:01 +0000
commit20b8ed2c2b107e037dabe879fb85d3c0734e3004 (patch)
treeb7715b063f0ceb023ca8f664e7022d971d47673b /clang/test/CodeGen/fp16-ops.c
parent543236232c79221c4da261246e49888844697539 (diff)
downloadbcm5719-llvm-20b8ed2c2b107e037dabe879fb85d3c0734e3004.tar.gz
bcm5719-llvm-20b8ed2c2b107e037dabe879fb85d3c0734e3004.zip
[IRBuilder] Update IRBuilder::CreateFNeg(...) to return a UnaryOperator
Reapply r374240 with fix for Ocaml test, namely Bindings/OCaml/core.ml. Differential Revision: https://reviews.llvm.org/D61675 llvm-svn: 374782
Diffstat (limited to 'clang/test/CodeGen/fp16-ops.c')
-rw-r--r--clang/test/CodeGen/fp16-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/fp16-ops.c b/clang/test/CodeGen/fp16-ops.c
index f2ed667341b..f74552b8592 100644
--- a/clang/test/CodeGen/fp16-ops.c
+++ b/clang/test/CodeGen/fp16-ops.c
@@ -37,9 +37,9 @@ void foo(void) {
// NATIVE-HALF: fcmp une half
test = (!h1);
// CHECK: [[F16TOF32]]
- // CHECK: fsub float
+ // CHECK: fneg float
// NOTNATIVE: [[F32TOF16]]
- // NATIVE-HALF: fsub half
+ // NATIVE-HALF: fneg half
h1 = -h1;
// CHECK: [[F16TOF32]]
// CHECK: [[F32TOF16]]
OpenPOWER on IntegriCloud