aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/FileCheckTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-08-08 11:03:16 -0700
committerCraig Topper <craig.topper@intel.com>2020-08-08 11:29:41 -0700
commit44b260cb0aab387d85e4d59c16fc7b8866264f5e (patch)
treed1a6f7aca0e77ffa0f82314e92682a50b7b3a96b /llvm/unittests/Support/FileCheckTest.cpp
parentf13e92d4b273db255c6955eb7f2269caf1eb60c3 (diff)
downloadllvm-44b260cb0aab387d85e4d59c16fc7b8866264f5e.zip
llvm-44b260cb0aab387d85e4d59c16fc7b8866264f5e.tar.gz
llvm-44b260cb0aab387d85e4d59c16fc7b8866264f5e.tar.bz2
[X86] Increase the number of instructions searched for isSafeToClobberEFLAGS in a couple places
Previously this function searched 4 instructions forwards or backwards to determine if it was ok to clobber eflags. This is called in 3 places: rematerialization, turning 2 operand leas into adds or splitting 3 ops leas into an lea and add on some CPU targets. This patch increases the search limit to 10 instructions for rematerialization and 2 operand lea to add. I've left the old treshold for 3 ops lea spliting as that increases code size. Fixes PR47024 and PR43014
Diffstat (limited to 'llvm/unittests/Support/FileCheckTest.cpp')
0 files changed, 0 insertions, 0 deletions