[all-commits] [llvm/llvm-project] c853c7: [Thumb][test] Fix CodeGen/Thumb/PR17309.ll after ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Dec 24 17:00:57 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c853c73d3decdd37147a76ba0810ce143de40d55
      https://github.com/llvm/llvm-project/commit/c853c73d3decdd37147a76ba0810ce143de40d55
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-12-24 (Tue, 24 Dec 2019)

  Changed paths:
    M llvm/test/CodeGen/Thumb/PR17309.ll

  Log Message:
  -----------
  [Thumb][test] Fix CodeGen/Thumb/PR17309.ll  after llvmorg-10-init-16046-ga36ddf0aa9d

All of

"no-frame-pointer-elim-non-leaf"
"no-frame-pointer-elim-non-leaf"="true"
"no-frame-pointer-elim-non-leaf"="false"

mean "frame-pointer"="non-leaf", which is quite counter-intuitive.
llvmorg-10-init-16046-ga36ddf0aa9d accidentally broke it.

This fixes the -DLLVM_ENABLE_EXPENSIVE_CHECKS=On test:

```
*** Bad machine code: Non-flag-setting Thumb1 mov is v6-only ***
- function:    pass_C
- basic block: %bb.0 entry (0x1fc9bf0)
- instruction: $r0 = tMOVr killed $r6, 14, $noreg
```




More information about the All-commits mailing list