aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorPhilip Pfaffe <philip.pfaffe@gmail.com>2018-05-15 14:53:25 +0000
committerPhilip Pfaffe <philip.pfaffe@gmail.com>2018-05-15 14:53:25 +0000
commitd477bb9a50b7ccc1b3620de2447bcd18bc78bb79 (patch)
tree3ee2e17fd0ff7f06ec4db24fa204978acb1f86e2 /llvm/unittests/Support/CommandLineTest.cpp
parent8652c53d291f26691e359c115d58574ddf742a0b (diff)
downloadllvm-d477bb9a50b7ccc1b3620de2447bcd18bc78bb79.zip
llvm-d477bb9a50b7ccc1b3620de2447bcd18bc78bb79.tar.gz
llvm-d477bb9a50b7ccc1b3620de2447bcd18bc78bb79.tar.bz2
[SI] Create Scop Name lazily
Summary: Creating the Scop name is expensive, because creating the Region name it's derived from is expensive. So create the name lazily, because getName() is actually called rarely. This is a reiteration of r328666, which introduced a use-after-free and got reverted in r331363. Differential Revision: https://reviews.llvm.org/D46868 llvm-svn: 332359
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions