File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
llvm/test/Transforms/InstSimplify/ConstProp Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 22; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
33
44; REQUIRES: has_logf128
5- ; REQUIRES: aarch64-registered-target
65declare fp128 @llvm.log.f128 (fp128 )
76
87define 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+ }
You can’t perform that action at this time.
0 commit comments