================
@@ -259,6 +297,9 @@ bool LiveRegOptimizer::optimizeLiveType(
if (!shouldReplace(II->getType()))
continue;
+ if (!shouldReplaceBasedOnOp(II))
----------------
choikwa wrote:
Noted
https://github.com/llvm/llvm-project/pull/124624