[llvm-bugs] [Bug 50790] New: File reports diff on itself
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jun 21 15:03:36 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50790
Bug ID: 50790
Summary: File reports diff on itself
Product: tools
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-diff
Assignee: unassignedbugs at nondot.org
Reporter: isanbard at gmail.com
CC: llvm-bugs at lists.llvm.org
$ more reduced.ll
; ModuleID = '../v.ll'
source_filename = "arch/x86/kvm/vmx.c"
target datalayout =
"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-grtev4-linux-gnu"
@shadow_read_write_fields = external dso_local global [28 x i16], align 16
@__const.copy_shadow_to_vmcs12.fields = private unnamed_addr constant [2 x
i16*] [i16* getelementptr inbounds ([28 x i16], [28 x i16]*
@shadow_read_write_fields, i32 0, i32 0), i16* poison], align 16
; Function Attrs: argmemonly nofree nosync nounwind willreturn
declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) #0
; Function Attrs: argmemonly nofree nosync nounwind willreturn
declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) #0
define internal void @vmx_vcpu_run() {
%1 = getelementptr [2 x i16*], [2 x i16*]*
@__const.copy_shadow_to_vmcs12.fields, i64 0, i64 undef
ret void
}
; Function Attrs: nounwind readonly
declare i64 @llvm.read_register.i64(metadata) #1
; Function Attrs: nounwind
declare void @llvm.write_register.i64(metadata, i64) #2
attributes #0 = { argmemonly nofree nosync nounwind willreturn }
attributes #1 = { nounwind readonly }
attributes #2 = { nounwind }
$ ./build.opt/bin/llvm-diff reduced.ll reduced.ll
in function vmx_vcpu_run:
in block %0 / %0:
> %1 = getelementptr [2 x i16*], [2 x i16*]*
@__const.copy_shadow_to_vmcs12.fields, i64 0, i64 undef
< %1 = getelementptr [2 x i16*], [2 x i16*]*
@__const.copy_shadow_to_vmcs12.fields, i64 0, i64 undef
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210621/0511a8f0/attachment.html>
More information about the llvm-bugs
mailing list