Skip to content
  • Dale Johannesen's avatar
    Split the ATOMIC NodeType's to include the size, e.g. · 41be0d44
    Dale Johannesen authored
    ATOMIC_LOAD_ADD_{8,16,32,64} instead of ATOMIC_LOAD_ADD.
    Increased the Hardcoded Constant OpActionsCapacity to match.
    Large but boring; no functional change.
    
    This is to support partial-word atomics on ppc; i8 is
    not a valid type there, so by the time we get to lowering, the
    ATOMIC_LOAD nodes looks the same whether the type was i8 or i32.
    The information can be added to the AtomicSDNode, but that is the
    largest SDNode; I don't fully understand the SDNode allocation,
    but it is sensitive to the largest node size, so increasing
    that must be bad.  This is the alternative.
    
    llvm-svn: 55457
    41be0d44
Loading