Skip to content
  • Evan Cheng's avatar
    Add bundle aware API for querying instruction properties and switch the code · 7f8e563a
    Evan Cheng authored
    generator to it. For non-bundle instructions, these behave exactly the same
    as the MC layer API.
    
    For properties like mayLoad / mayStore, look into the bundle and if any of the
    bundled instructions has the property it would return true.
    For properties like isPredicable, only return true if *all* of the bundled
    instructions have the property.
    For properties like canFoldAsLoad, isCompare, conservatively return false for
    bundles.
    
    llvm-svn: 146026
    7f8e563a
Loading