[PATCH] D43859: [GlobalOpt] don't change CC of musttail calle(e|r) PR36546

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 14:18:29 PST 2018


JDevlieghere added a comment.

The test case seems to fail for me locally. Can you see if you can reproduce this?

  ******************** TEST 'LLVM :: Transforms/GlobalOpt/musttail_cc.ll' FAILED ********************
  Script:
  --
  /Users/jonas/llvm/git-svn/build/bin/opt < /Users/jonas/llvm/git-svn/llvm/test/Transforms/GlobalOpt/musttail_cc.ll -globalopt -S | /Users/jonas/llvm/git-svn/build/bin/FileCheck /Users/jonas/llvm/git-svn/llvm/test/Transforms/GlobalOpt/musttail_cc.ll
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  /Users/jonas/llvm/git-svn/llvm/test/Transforms/GlobalOpt/musttail_cc.ll:31:16: error: expected string not found in input
  ; CHECK-LABEL: define internal i32 @foo2(i32 %a)
                 ^
  <stdin>:18:35: note: scanning from here
  define internal i32 @foo1(i32 %a) unnamed_addr {
                                    ^
  <stdin>:19:11: note: possible intended match here
   %ca = musttail call i32 @foo2(i32 %a)
            ^
  
  --


https://reviews.llvm.org/D43859





More information about the llvm-commits mailing list