llvm-project/llvm/test
Masoud Ataei 2d038370bb DAGCombiner optimization for pow(x,0.75) and pow(x,0.25) on double and single precision even in case massv function is asked
Here, I am proposing to add an special case for massv powf4/powd2 function (SIMD counterpart of powf/pow function in MASSV library) in MASSV pass to get later optimizations like conversion from pow(x,0.75) and pow(x,0.25) for double and single precision to sequence of sqrt's in the DAGCombiner in vector float case. My reason for doing this is: the optimized pow(x,0.75) and pow(x,0.25) for double and single precision to sequence of sqrt's is faster than powf4/powd2 on P8 and P9.

In case MASSV functions is called, and if the exponent of pow is 0.75 or 0.25, we will get the sequence of sqrt's and if exponent is not 0.75 or 0.25 we will get the appropriate MASSV function.

Reviewed By: steven.zhang

Tags: #LLVM #PowerPC

Differential Revision: https://reviews.llvm.org/D80744
2020-06-12 10:02:16 -04:00
..
Analysis [StackSafety] Fix byval handling 2020-06-11 20:58:36 -07:00
Assembler Fix convertBFloatAPFloatToAPInt for NaN/Inf values 2020-06-05 17:22:43 -07:00
Bindings [DebugInfo] Upgrade DISubrange to support Fortran dynamic arrays 2020-05-28 13:46:41 +05:30
Bitcode [StackSafety] Add info into function summary 2020-06-10 02:43:28 -07:00
BugPoint
CodeGen DAGCombiner optimization for pow(x,0.75) and pow(x,0.25) on double and single precision even in case massv function is asked 2020-06-12 10:02:16 -04:00
DebugInfo [DebugInfo] Fix assertion for extern void type 2020-06-08 13:43:18 -07:00
Demangle Give microsoftDemangle() an outparam for how many input bytes were consumed. 2020-05-20 16:17:31 -04:00
Examples
ExecutionEngine [JITLink] Skip debug sections in MachO objects. 2020-06-03 11:08:14 -07:00
Feature
FileCheck [FileCheck] Add missing %ProtectFileCheckOutput to FileCheck tests 2020-06-10 12:40:35 -04:00
Instrumentation Revert "[InstrProfiling] Use !associated metadata for counters, data and values" 2020-06-10 02:32:50 -07:00
Integer
JitListener
LTO [SampleFDO] Add use-sample-profile function attribute. 2020-06-02 17:23:17 -07:00
Linker
MC [X86] Force VIA PadLock crypto instructions to emit a 0xF3 prefix when they encode to match what GNU as does. 2020-06-11 12:59:21 -07:00
MachineVerifier Simplify MachineVerifier's block-successor verification. 2020-06-06 22:30:51 -04:00
Object [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
ObjectYAML [yaml2obj][MachO] - Fix PubName/PubType handling. 2020-06-12 12:03:51 +03:00
Other [PrintSCC] Fix printing a basic-block without a name 2020-05-29 20:14:19 +03:00
Reduce
SafepointIRVerifier [Tests] Migrate a number of tests to gc-live bundle representation 2020-06-05 16:44:04 -07:00
Support On Windows, handle interrupt signals without crash message 2020-05-21 13:27:10 +01:00
SymbolRewriter
TableGen [TableGen] Fix non-standard escape warnings for braces in InstAlias 2020-05-28 09:36:24 +00:00
ThinLTO/X86 [ThinLTO] Compute the basic block count across modules. 2020-05-28 10:33:05 -07:00
Transforms [BreakCritEdges] Add option to opt-out of perserving loop-simplify. 2020-06-12 11:47:13 +01:00
Unit
Verifier AMDGPU: Fix missing immarg on buffer.atomic.fadd intrinsic 2020-06-05 14:34:07 -04:00
YAMLParser
tools [ObjectYAML][test] Use a single test file to test the empty 'DWARF' entry. 2020-06-12 17:56:22 +08:00
.clang-format
CMakeLists.txt [CMake] Change target 'check' from 'check-llvm' to 'check-all' 2020-05-29 14:15:27 -07:00
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in