[PATCH] D17542: Disallow generating vzeroupper before return instruction (iret) in interrupt handler function
Ahmed Bougacha via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 29 17:16:57 PST 2016
ab added a comment.
Sorry to be a nag, but the testcase can be simplified even further:
; RUN: llc -mtriple=x86_64-unknown-unknown -mattr=+avx < %s | FileCheck %s
; CHECK: vzeroupper
; CHECK-NEXT: call
; CHECK-NOT: vzeroupper
; CHECK: iret
define x86_intrcc void @foo(i8* %frame) {
call void @bar()
ret void
}
declare void @bar()
FWIW, I also don't think the C reproducer adds any value, but if you think otherwise feel free to keep it!
http://reviews.llvm.org/D17542
More information about the llvm-commits
mailing list