[llvm] [X86][SimplifyCFG] Support hoisting load/store with conditional faulting (PR #96878)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 08:51:50 PDT 2024
dtcxzyw wrote:
> > > opt -passes=simplifycfg -mattr=+cf reduced.ll -S
> >
> >
> > @dtcxzyw Rebased, still no error
> > ```
> > bash$ opt -passes=simplifycfg -mattr=+cf reduced.ll -S
> > ; ModuleID = 'reduced.ll'
> > source_filename = "reduced.ll"
> > target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
> > target triple = "x86_64-pc-linux-gnu"
> >
> > define i64 @vm_exec_core(i1 %0) #0 {
> > common.ret:
> > ret i64 0
> > }
> >
> > attributes #0 = { "target-features"="+cf" }
> > ```
>
> I also cannot reproduce this with clang+asan build. Maybe it was caused by a bug in gcc 11.4.
Reproduced with gcc 12.3
https://github.com/llvm/llvm-project/pull/96878
More information about the llvm-commits
mailing list