llvm-mirror/test
Venkataramanan Kumar 36b1d49191 [InstCombine] Transform 1.0/sqrt(X) * X to X/sqrt(X)
These transforms will now be performed irrespective of the number of uses for the expression "1.0/sqrt(X)":
1.0/sqrt(X) * X => X/sqrt(X)
X * 1.0/sqrt(X) => X/sqrt(X)

We already handle more general cases, and we are intentionally not creating extra (and likely expensive)
fdiv ops in IR. This pattern is the exception to the rule because we always expect the Backend to reduce
X/sqrt(X) to sqrt(X), if it has the necessary (reassoc) fast-math-flags.

Ref: DagCombiner optimizes the X/sqrt(X) to sqrt(X).

Differential Revision: https://reviews.llvm.org/D86726
2020-09-02 08:23:48 -04:00
..
Analysis Fix build-bots. 2020-09-01 20:24:15 -07:00
Assembler [ConstProp] Remove ConstantPropagation 2020-08-26 15:51:30 -07:00
Bindings Fix OCaml bindings 2020-08-26 16:11:11 -07:00
Bitcode [ARM][BFloat16] Change types of some Arm and AArch64 bf16 intrinsics 2020-08-27 18:52:59 +01:00
BugPoint
CodeGen [SVE] Don't reorder subvector/binop sequences when the resulting binop is not legal. 2020-09-02 11:01:33 +01:00
DebugInfo [DebugInfo] Emit a 1-byte value as a terminator of entries list in the name index. 2020-09-02 16:12:39 +07:00
Demangle
Examples [ORC] Add a LLJITWithThinLTOSummaries example in OrcV2Examples 2020-08-23 14:02:10 +02:00
ExecutionEngine [JITLink][MachO] Use correct symbol scope when N_PEXT is set and N_EXT unset. 2020-08-15 15:53:33 -07:00
Feature [NewPM][optnone] Mark various passes as required 2020-08-14 15:51:59 -07:00
FileCheck [FileCheck] Add precision to format specifier 2020-08-30 19:40:57 +01:00
Instrumentation [HeapProf] Clang and LLVM support for heap profiling instrumentation 2020-08-27 08:50:35 -07:00
Integer
JitListener
Linker [test] XFAIL two tests with inlining debug info issues on Sparc 2020-08-13 11:12:52 +02:00
LTO [LTO] Don't apply LTOPostLink module flag during writeMergedModule 2020-08-26 11:17:45 -07:00
MachineVerifier [Test] Tidy up loose ends from LLVM_HAS_GLOBAL_ISEL 2020-08-27 16:36:27 +01:00
MC [PowerPC] Implement instruction definitions/MC Tests for xvcvspbf16 and xvcvbf16spn 2020-09-01 10:59:43 -05:00
Object [llvm-readobj/elf] - Refine the warning about the broken PT_DYNAMIC segment. 2020-08-17 14:57:19 +03:00
ObjectYAML [DWARFYAML] Make the debug_str section optional. 2020-09-01 10:02:09 +08:00
Other [MemCpyOptimizer] Preserve analyses and replace use of lambdas to get them. 2020-09-01 17:35:40 -07:00
Reduce [llvm-reduce] Create returns with undef values for non-void functions. 2020-08-31 16:33:46 +01:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen][GlobalISel] Fix tblgen optimization bug 2020-08-26 12:09:01 +02:00
ThinLTO/X86 [ThinLTO][Legacy] Compute PreservedGUID based on IRName in Symtab 2020-08-26 10:15:00 -07:00
tools [DebugInfo] Simplify string table dumpers. 2020-09-02 08:41:10 +08:00
Transforms [InstCombine] Transform 1.0/sqrt(X) * X to X/sqrt(X) 2020-09-02 08:23:48 -04:00
Unit
Verifier Revert "[Verifier] Additional check for intrinsic get.active.lane.mask" 2020-08-27 09:27:05 +01:00
YAMLParser
.clang-format
CMakeLists.txt Add cmake test support for LLJITWithThinLTOSummaries to make sure 2020-08-26 11:46:09 -07:00
lit.cfg.py [Test] Tidy up loose ends from LLVM_HAS_GLOBAL_ISEL 2020-08-27 16:36:27 +01:00
lit.site.cfg.py.in [CMake] Simplify CMake handling for zlib 2020-08-11 20:22:11 -07:00
TestRunner.sh