-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix false positive with noread fn calls with local block passed as input
- Loading branch information
1 parent
68ff734
commit 3e1e364
Showing
4 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
define ptr @src() { | ||
%call = call nonnull ptr @_Znwm(i64 8) | ||
call void @fn(ptr %call) memory(argmem:write) | ||
ret ptr %call | ||
} | ||
|
||
define ptr @tgt() { | ||
%call = call nonnull ptr @_Znwm(i64 8) | ||
call void @fn(ptr %call) memory(argmem:write) | ||
ret ptr %call | ||
} | ||
|
||
declare ptr @_Znwm(i64) | ||
declare void @fn(ptr) |