[flang-commits] [flang] [flang] Make more [HL]FIR operations Pure. (PR #191309)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Apr 13 03:10:10 PDT 2026
================
@@ -526,7 +526,7 @@ def fir_CharConvertOp : fir_Op<"char_convert", []> {
let hasVerifier = 1;
}
-def fir_UndefOp : fir_OneResultOp<"undefined", [NoMemoryEffect]> {
+def fir_UndefOp : fir_OneResultOp<"undefined", [Pure]> {
----------------
tblah wrote:
Thanks. I guess having this doesn't add much and will require more work so it isn't useful here.
https://github.com/llvm/llvm-project/pull/191309
More information about the flang-commits
mailing list