diff options
author | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
commit | a86343512845c9c1fdbac865fea88aa5fce7142a (patch) | |
tree | 666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/InstSimplify/add.ll | |
parent | 7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff) | |
download | bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.tar.gz bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.zip |
Temporarily Revert "Add basic loop fusion pass."
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/add.ll')
-rw-r--r-- | llvm/test/Transforms/InstSimplify/add.ll | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/llvm/test/Transforms/InstSimplify/add.ll b/llvm/test/Transforms/InstSimplify/add.ll deleted file mode 100644 index 21cc905688b..00000000000 --- a/llvm/test/Transforms/InstSimplify/add.ll +++ /dev/null @@ -1,51 +0,0 @@ -; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instsimplify -S | FileCheck %s - -define i32 @common_sub_operand(i32 %X, i32 %Y) { -; CHECK-LABEL: @common_sub_operand( -; CHECK-NEXT: ret i32 [[X:%.*]] -; - %Z = sub i32 %X, %Y - %Q = add i32 %Z, %Y - ret i32 %Q -} - -define i32 @negated_operand(i32 %x) { -; CHECK-LABEL: @negated_operand( -; CHECK-NEXT: ret i32 0 -; - %negx = sub i32 0, %x - %r = add i32 %negx, %x - ret i32 %r -} - -define <2 x i32> @negated_operand_commute_vec(<2 x i32> %x) { -; CHECK-LABEL: @negated_operand_commute_vec( -; CHECK-NEXT: ret <2 x i32> zeroinitializer -; - %negx = sub <2 x i32> zeroinitializer, %x - %r = add <2 x i32> %x, %negx - ret <2 x i32> %r -} - -define i8 @knownnegation(i8 %x, i8 %y) { -; CHECK-LABEL: @knownnegation( -; CHECK-NEXT: ret i8 0 -; - %xy = sub i8 %x, %y - %yx = sub i8 %y, %x - %r = add i8 %xy, %yx - ret i8 %r -} - -define <2 x i8> @knownnegation_commute_vec(<2 x i8> %x, <2 x i8> %y) { -; CHECK-LABEL: @knownnegation_commute_vec( -; CHECK-NEXT: ret <2 x i8> zeroinitializer -; - %xy = sub <2 x i8> %x, %y - %yx = sub <2 x i8> %y, %x - %r = add <2 x i8> %yx, %xy - ret <2 x i8> %r -} - - |