[PATCH] D64412: [Strict FP] Allow more relaxed scheduling
    Kevin P. Neal via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jul  9 08:14:35 PDT 2019
    
    
  
kpn added a comment.
Stupid question: what's a "global barrier"?
This isn't going to be moving instructions outside of tests, right? For example:
int foo(double d) {
  return (isnan(d) ? 0 : (int)d);
}
A year ago this caused traps because of speculative execution causing both legs of the ternary operator to be executed. I feel a little silly asking, but ... I'm asking anyway.
Also, how does this patch interact with volatile accesses? We use volatile to finesse compilers into doing what we need.
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64412/new/
https://reviews.llvm.org/D64412
    
    
More information about the llvm-commits
mailing list