mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[Utils][Fix] remove unnecessary ; at the end
This commit is contained in:
parent
cd779b624c
commit
2831dc56cb
@ -8,14 +8,14 @@
|
||||
%struct.ST = type { i32, double, %struct.RT }
|
||||
|
||||
define i32* @foo(%struct.ST* %s) nounwind uwtable readnone optsize ssp {
|
||||
; IS__TUNIT____: Function Attrs: nofree nosync nounwind optsize readnone ssp uwtable willreturn;
|
||||
; IS__TUNIT____: Function Attrs: nofree nosync nounwind optsize readnone ssp uwtable willreturn
|
||||
; IS__TUNIT____-LABEL: define {{[^@]+}}@foo
|
||||
; IS__TUNIT____-SAME: (%struct.ST* nofree readnone [[S:%.*]]) #0
|
||||
; IS__TUNIT____-NEXT: entry:
|
||||
; IS__TUNIT____-NEXT: [[ARRAYIDX:%.*]] = getelementptr inbounds [[STRUCT_ST:%.*]], %struct.ST* [[S]], i64 1, i32 2, i32 1, i64 5, i64 13
|
||||
; IS__TUNIT____-NEXT: ret i32* [[ARRAYIDX]]
|
||||
;
|
||||
; IS__CGSCC____: Function Attrs: nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn;
|
||||
; IS__CGSCC____: Function Attrs: nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn
|
||||
; IS__CGSCC____-LABEL: define {{[^@]+}}@foo
|
||||
; IS__CGSCC____-SAME: (%struct.ST* nofree readnone [[S:%.*]]) #0
|
||||
; IS__CGSCC____-NEXT: entry:
|
||||
|
@ -391,7 +391,7 @@ def add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name,
|
||||
attrs = str(func_dict[checkprefix][func_name].attrs)
|
||||
attrs = '' if attrs == 'None' else attrs
|
||||
if attrs:
|
||||
output_lines.append('%s %s: Function Attrs: %s;' % (comment_marker, checkprefix, attrs))
|
||||
output_lines.append('%s %s: Function Attrs: %s' % (comment_marker, checkprefix, attrs))
|
||||
args_and_sig = str(func_dict[checkprefix][func_name].args_and_sig)
|
||||
args_and_sig = genericize_check_lines([args_and_sig], is_analyze, vars_seen)[0]
|
||||
if '[[' in args_and_sig:
|
||||
|
Loading…
Reference in New Issue
Block a user