rampitec added inline comments.
================ Comment at: llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:4701 + B.getMF().getFunction().getContext().diagnose(BadIntrin); + B.buildUndef(MI.getOperand(0)); + MI.eraseFromParent(); ---------------- You can just omit undef and erase. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D103663/new/ https://reviews.llvm.org/D103663 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits