diff options
Diffstat (limited to 'test/Transforms/InstSimplify/2011-02-01-Vector.ll')
-rw-r--r-- | test/Transforms/InstSimplify/2011-02-01-Vector.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/InstSimplify/2011-02-01-Vector.ll b/test/Transforms/InstSimplify/2011-02-01-Vector.ll new file mode 100644 index 0000000..3039a66 --- /dev/null +++ b/test/Transforms/InstSimplify/2011-02-01-Vector.ll @@ -0,0 +1,8 @@ +; RUN: opt < %s -instsimplify -S | FileCheck %s + +define <2 x i32> @sdiv(<2 x i32> %x) { +; CHECK: @sdiv + %div = sdiv <2 x i32> %x, <i32 1, i32 1> + ret <2 x i32> %div +; CHECK: ret <2 x i32> %x +} |