Skip to content

Commit 6a08ef5

Browse files
committed
Add vector test and remove AArch64 target for IR tests
1 parent 5f96eae commit 6a08ef5

File tree

1 file changed

+8
-1
lines changed
  • llvm/test/Transforms/InstSimplify/ConstProp

1 file changed

+8
-1
lines changed

llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
33

44
; REQUIRES: has_logf128
5-
; REQUIRES: aarch64-registered-target
65
declare fp128 @llvm.log.f128(fp128)
76

87
define fp128 @log_e_64(){
@@ -117,3 +116,11 @@ define fp128 @log_e_nan(){
117116
%A = call fp128 @llvm.log.f128(fp128 noundef 0xL00000000000000007FFF000000000001)
118117
ret fp128 %A
119118
}
119+
120+
define <2 x fp128> @log_e_negative_2_vector(){
121+
; CHECK-LABEL: define <2 x fp128> @log_e_negative_2_vector() {
122+
; CHECK-NEXT: ret <2 x fp128> <fp128 0xL00000000000000007FFF800000000000, fp128 0xL00000000000000007FFF800000000000>
123+
;
124+
%A = call <2 x fp128> @llvm.log.v2f128(<2 x fp128> <fp128 0xL0000000000000000C000000000000000, fp128 0xL0000000000000000C000000000000001>)
125+
ret <2 x fp128> %A
126+
}

0 commit comments

Comments
 (0)