diff options
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/2011-02-01-Vector.ll')
-rw-r--r-- | llvm/test/Transforms/InstSimplify/2011-02-01-Vector.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstSimplify/2011-02-01-Vector.ll b/llvm/test/Transforms/InstSimplify/2011-02-01-Vector.ll new file mode 100644 index 00000000000..3039a663fa4 --- /dev/null +++ b/llvm/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 +} |