Skip to content

Commit

Permalink
Just comment out the DisableTailCalls assignment entirely, per Chris …
Browse files Browse the repository at this point in the history
…review comments

Signed-off-by: Larry Gritz <lg@larrygritz.com>
  • Loading branch information
lgritz committed Apr 20, 2022
1 parent 583942f commit 0fd0bf9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/liboslexec/llvm_util.cpp
Expand Up @@ -1681,9 +1681,6 @@ LLVM_Util::setup_optimization_passes (int optlevel, bool target_host)
builder.DisableUnrollLoops = false;
builder.SLPVectorize = false;
builder.LoopVectorize = false;
#if OSL_LLVM_VERSION < 140
builder.DisableTailCalls = false;
#endif
if (target_machine)
target_machine->adjustPassManager(builder);

Expand Down

0 comments on commit 0fd0bf9

Please sign in to comment.