OSDN Git Service

Revert r338354 "[ARM] Revert r337821"
authorReid Kleckner <rnk@google.com>
Tue, 31 Jul 2018 23:09:42 +0000 (23:09 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 31 Jul 2018 23:09:42 +0000 (23:09 +0000)
commit1fa19f68007cd126a04448093c171f40e556087e
tree7cd8e6c0efdb27655ec0876199f23966bd30effe
parentfc3a3b78d4151193748f756a0bf7bfbb553c9c76
Revert r338354 "[ARM] Revert r337821"

Disable ARMCodeGenPrepare by default again. It is causing verifier
failues in V8 that look like:

  Duplicate integer as switch case
  switch i32 %trunc, label %if.end13 [
    i32 0, label %cleanup36
    i32 0, label %if.then8
  ], !dbg !4981
  i32 0
  fatal error: error in backend: Broken function found, compilation aborted!

I will continue reducing the test case and send it along.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338452 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCodeGenPrepare.cpp
test/CodeGen/ARM/arm-cgp-icmps.ll
test/CodeGen/ARM/arm-cgp-phis-calls-ret.ll
test/CodeGen/ARM/arm-cgp-signed.ll