https://bugs.llvm.org/show_bug.cgi?id=45116

            Bug ID: 45116
           Summary: [DAGCombine] Replace some uses of getABITypeAlignment
                    with allowsMemoryAccess
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]

We are often using getABITypeAlignment to determine whether a merged load/store
is safe, which seems to be overkill as in most cases we aren't dealing with ABI
call requirements, we should be able to use allowsMemoryAccess (and maybe a
fast load check) instead.

DAGCombiner::CombineConsecutiveLoads
DAGCombiner::ReduceLoadOpStoreWidth
DAGCombiner::scalarizeExtractedVectorLoad
DAGCombiner::TransformFPLoadStorePair
LoadedSlice::canMergeExpensiveCrossRegisterBankCopy


This should be useful for platforms like x86 where unaligned scalar loads are
the norm.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to