This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix dropping MI flags when rewriting instructions
ClosedPublic

Authored by arsenm on May 27 2020, 6:09 AM.

Details

Summary

All 3 passes that change instruction encodings were dropping MI
flags. This avoids scheduling regressions caused by setting
mayRaiseFPExceptions on FP instructions for non-strictfp functions.

Diff Detail