[PATCH] D45736: [SimplifyLibcalls] Replace locked IO with unlocked IO

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 12:29:18 PDT 2018


xbolva00 added a comment.

NoCapture attributes check now work.

But I still get a issue like:

define i32 @aa() #0 {
entry:

  %call = call i32 @aac()
  ret i32 %call

}

; Function Attrs: noinline nounwind uwtable
define internal i32 @aac() #0 {
entry:

  %getchar_unlocked = call i32 @getchar_unlocked()
  ret i32 %getchar_unlocked

}

Any idea how to fix it?


https://reviews.llvm.org/D45736





More information about the llvm-commits mailing list