diff options
author | Quentin Colombet <qcolombet@apple.com> | 2017-06-05 23:51:27 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2017-06-05 23:51:27 +0000 |
commit | c668935d85bc38f733e00315d419c7778852063a (patch) | |
tree | 007484bcabac1321f621650920f08178a1ae25d2 /llvm/unittests/Support/ProgramTest.cpp | |
parent | a6fef0e5dbf938f8442e5adcd6b8c1b35db56d62 (diff) | |
download | llvm-c668935d85bc38f733e00315d419c7778852063a.zip llvm-c668935d85bc38f733e00315d419c7778852063a.tar.gz llvm-c668935d85bc38f733e00315d419c7778852063a.tar.bz2 |
[InlineSpiller] Don't spill fully undef values
Althought it is not wrong to spill undef values, it is useless and harms
both code size and runtime. Before spilling a value, check that its
content actually matters.
http://www.llvm.org/PR33311
llvm-svn: 304752
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions