https://bugs.llvm.org/show_bug.cgi?id=35950
David Blaikie <dblai...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dblai...@gmail.com
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from David Blaikie <dblai...@gmail.com> ---
This behavior is intentional.
-O0 IR carries with it that contract that it should not be optimized - so opt
satisfies that request by running the optimization passes, but they all do
nothing to modify -O0 IR.
This is important when preserving the semantic request of -O0 in IR that is
merged from multiple other IR files, some of which may be compiled with -O0 and
some with optimizations enabled.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs