A new function 'getConstrainedIntrinsic' is added, which for any gived instruction returns id of the corresponding constrained intrinsic. If there is no constrained counterpart for the instruction or the instruction is already a constrained intrinsic, the function returns zero. This is recommit of115b3ace36, reverted in8160dd582b. Differential Revision: https://reviews.llvm.org/D69562
4.2 KiB
4.2 KiB