[LLVMbugs] [Bug 9851] llc -combiner-alias-analysis reorders volatiles
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 5 23:54:35 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9851
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #3 from Eli Friedman <sharparrow1 at yahoo.com> 2011-05-06 01:54:35 CDT ---
(In reply to comment #2)
> As far as I know reordering volatiles is perfectly valid. You need a memory
> barrier if you want to enforce ordering.
>From LangRef: "The optimizers must not change the number of volatile operations
or change their order of execution relative to other volatile operations."
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list