stop trying to outsmart LLVM inline heuristics

Closes #10045