Skip to content
  • Bruno Cardoso Lopes's avatar
    Introduce matching patterns for vbroadcast AVX instruction. The idea is to · be5e9873
    Bruno Cardoso Lopes authored
    match splats in the form (splat (scalar_to_vector (load ...))) whenever
    the load can be folded. All the logic and instruction emission is
    working but because of PR8156, there are no ways to match loads, cause
    they can never be folded for splats. Thus, the tests are XFAILed, but
    I've tested and exercised all the logic using a relaxed version for
    checking the foldable loads, as if the bug was already fixed. This
    should work out of the box once PR8156 gets fixed since MayFoldLoad will
    work as expected.
    
    llvm-svn: 137810
    be5e9873
Loading