bolt/deps/llvm-18.1.8/llvm/test/Transforms/InstSimplify/2011-02-01-Vector.ll
2025-02-14 19:21:04 +01:00

10 lines
300 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
define <2 x i32> @sdiv(<2 x i32> %x) {
; CHECK-LABEL: @sdiv(
; CHECK-NEXT: ret <2 x i32> [[X:%.*]]
;
%div = sdiv <2 x i32> %x, <i32 1, i32 1>
ret <2 x i32> %div
}