Don't refuse to transform constexpr(call(arg, ...)) to call(constexpr(arg), ...)...
authorNick Lewycky <nicholas@mxc.ca>
Sat, 18 Jan 2014 22:47:12 +0000 (22:47 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 18 Jan 2014 22:47:12 +0000 (22:47 +0000)
commit6d2bd95ff1c6edf7ffdeefa826e382743de1f649
tree08e0a61419e5553233783841c7f3349f463427ab
parentc97595849897fff829ec34cf37ac09760b8539dc
Don't refuse to transform constexpr(call(arg, ...)) to call(constexpr(arg), ...)) just because the function has multiple return values even if their return types are the same. Patch by Eduard Burtescu!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199564 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/call-cast-target.ll