diff options
author | Cameron McInally <cameron.mcinally@nyu.edu> | 2019-10-14 15:35:01 +0000 |
---|---|---|
committer | Cameron McInally <cameron.mcinally@nyu.edu> | 2019-10-14 15:35:01 +0000 |
commit | 20b8ed2c2b107e037dabe879fb85d3c0734e3004 (patch) | |
tree | b7715b063f0ceb023ca8f664e7022d971d47673b /clang/test/CodeGen/zvector.c | |
parent | 543236232c79221c4da261246e49888844697539 (diff) | |
download | bcm5719-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/zvector.c')
-rw-r--r-- | clang/test/CodeGen/zvector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/zvector.c b/clang/test/CodeGen/zvector.c index a8405a78e92..58fb60e9187 100644 --- a/clang/test/CodeGen/zvector.c +++ b/clang/test/CodeGen/zvector.c @@ -108,7 +108,7 @@ void test_pos(void) { // CHECK: [[SUB3:%.*]] = sub <2 x i64> zeroinitializer, [[TMP3]] // CHECK: store volatile <2 x i64> [[SUB3]], <2 x i64>* @sl, align 8 // CHECK: [[TMP4:%.*]] = load volatile <2 x double>, <2 x double>* @fd2, align 8 -// CHECK: [[SUB4:%.*]] = fsub <2 x double> <double -0.000000e+00, double -0.000000e+00>, [[TMP4]] +// CHECK: [[SUB4:%.*]] = fneg <2 x double> [[TMP4]] // CHECK: store volatile <2 x double> [[SUB4]], <2 x double>* @fd, align 8 // CHECK: ret void void test_neg(void) { |