]> granicus.if.org Git - llvm/commit
[BreakFalseDeps] ignore function with minsize attribute
authorSanjay Patel <spatel@rotateright.com>
Mon, 23 Sep 2019 17:01:01 +0000 (17:01 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 23 Sep 2019 17:01:01 +0000 (17:01 +0000)
commite61b10cb03fae9667af6a6666ecff34b5d8653ab
tree53beacfec32d362174e985951bd8fba4fb4c4bdc
parentf80446d2579ae0a89a7e7f76ad5c79f9fdc1518e
[BreakFalseDeps] ignore function with minsize attribute

This came up in the x86-specific:
https://bugs.llvm.org/show_bug.cgi?id=43239
...but it is a general problem for the BreakFalseDeps pass.
Dependencies may be broken by adding some other instruction,
so that should be avoided if the overall goal is to minimize size.

Differential Revision: https://reviews.llvm.org/D67363

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372628 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BreakFalseDeps.cpp
test/CodeGen/ARM/a15-partial-update.ll
test/CodeGen/X86/sqrt-partial.ll
test/CodeGen/X86/stack-folding-fp-avx1.ll
test/CodeGen/X86/stack-folding-fp-sse42.ll