[PATCH] D90702: [SafeStack] Make sure SafeStack does not break musttail call contract

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 16:57:51 PST 2020


vitalybuka added inline comments.


================
Comment at: llvm/test/Transforms/SafeStack/X86/musttail.ll:32
+; CHECK:          %r = musttail call i32 @foo(i32* %a)
+; CHECK-NEXT:     %t = bitcast i32 %r to i32
+; CHECK-NEXT:     ret i32 %t
----------------
the test shows that we don't insert stuff after musttail
it does not show where exactly it goes

maybe just generate the test with llvm-project/llvm/utils/update_test_checks.py?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90702/new/

https://reviews.llvm.org/D90702



More information about the llvm-commits mailing list