[PATCH] D122929: [BOLT] Check for !isTailCall in isUnconditionalBranch

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 07:27:16 PDT 2022


Amir accepted this revision.
Amir added inline comments.
This revision is now accepted and ready to land.


================
Comment at: bolt/test/AArch64/ext-double-jump.s:5
+# RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
+# RUN: %clang %cflags -nostartfiles -nodefaultlibs %t.o -o %t.exe -Wl,-q
+# RUN: llvm-bolt %t.exe -o %t.bolt -peepholes=double-jumps
----------------
We already have `-nostartfiles` and `-nostdlib` in `%cflags` (bolt/test/AArch64/lit.local.cfg). Do we still need `-nostartfiles -nodefaultlibs` here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122929



More information about the llvm-commits mailing list