https://bugs.llvm.org/show_bug.cgi?id=48529
Marius Hillenbrand <mhil...@linux.ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #2 from Marius Hillenbrand <mhil...@linux.ibm.com> ---
Per Sanjay Patel's comment on https://reviews.llvm.org/D94089
> I'm sympathetic to the motivation, but that was a hack: one goal of IR is to
> overcome side-channel source-level optimization like this.
> For example, we added several IR transforms to reduce compiled-code
> differences
> in source-level diffs like "if (bool1 && bool2)" vs. "if (bool1 & bool2)"
> (logical vs. bitwise ops).
> If the expression order matters, then we want the programmer to indicate that
> explicitly with something like "__builtin_expect" or profile metadata.
... closing this bug as no-issue.
--
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