llvm-6502/test
Hal Finkel 31f6bdbbbe [PowerPC] Implement BuildSDIVPow2, lower i64 pow2 sdiv using sradi
PPCISelDAGToDAG contained existing code to lower i32 sdiv by a power-of-2 using
srawi/addze, but did not implement the i64 case. DAGCombine now contains a
callback specifically designed for this purpose (BuildSDIVPow2), and part of
the logic has been moved to an implementation of that callback. Doing this
lowering using BuildSDIVPow2 likely does not matter, compared to handling
everything in PPCISelDAGToDAG, for the positive divisor case, but the negative
divisor case, which generates an additional negation, can potentially benefit
from additional folding from DAGCombine. Now, both the i32 and the i64 cases
have been implemented.

Fixes PR20732.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224033 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-11 18:37:52 +00:00
..
Analysis BFI: Saturate when combining edges to a successor 2014-12-05 19:13:42 +00:00
Assembler IR: Add 'invalid-' to test names for invalid assembly 2014-12-11 01:34:46 +00:00
Bindings
Bitcode IR: Fix bitcode compatability filenames 2014-12-08 00:41:39 +00:00
BugPoint
CodeGen [PowerPC] Implement BuildSDIVPow2, lower i64 pow2 sdiv using sradi 2014-12-11 18:37:52 +00:00
DebugInfo Reverting commit 223981, because the test that I added (incorrect-variable-debugloc1.ll) failed for llvm-ppc64. 2014-12-11 06:22:35 +00:00
ExecutionEngine
Feature Fix LLVMContext to match what MDKind names that the LL parser permits. Fixes PR21799! 2014-12-11 02:10:28 +00:00
FileCheck
Instrumentation InstrProf: An intrinsic and lowering for instrumentation based profiling 2014-12-08 18:02:35 +00:00
Integer
JitListener
Linker IR: Canonicalize metadata formatting, NFC 2014-12-11 06:32:29 +00:00
LTO Lazily link GlobalVariables and GlobalAliases. 2014-12-08 18:45:16 +00:00
MC [Hexagon] Adding encoding information for sign extend word instruction. 2014-12-11 16:43:06 +00:00
Object Add missing test file 2014-12-04 09:20:13 +00:00
Other
SymbolRewriter
TableGen
tools Revert "Initial dsymutil tool commit." 2014-12-09 17:21:50 +00:00
Transforms InstSimplify: Remove usesless %a parameter from tests 2014-12-11 12:56:17 +00:00
Unit
Verifier IR: Canonicalize metadata formatting, NFC 2014-12-11 06:32:29 +00:00
YAMLParser
.clang-format
CMakeLists.txt Revert "Add missing test dependency and use a more canonical target name." 2014-12-04 04:33:32 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh