https://bugs.llvm.org/show_bug.cgi?id=45422

            Bug ID: 45422
           Summary: No way to disable remark output from opt even with
                    --no-warn
           Product: tools
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: opt
          Assignee: unassignedb...@nondot.org
          Reporter: d.malju...@yandex.ru
                CC: llvm-bugs@lists.llvm.org

Example: https://godbolt.org/z/fxsn6G

It looks like there is no way to disable remark output if it decides that it is
enabled:
https://github.com/llvm/llvm-project/blob/f95a67d8b8a8cec326ee4a7e8427b779936d100a/llvm/lib/IR/LLVMContext.cpp#L243

Like here:
https://github.com/llvm/llvm-project/blob/466f8843f526b03c8944a46af5ebb374133b5389/llvm/lib/IR/DiagnosticInfo.cpp#L327

Even --no-warn option doesn't help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to