diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-22 16:04:52 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-22 16:04:52 +0000 |
| commit | 2edc3a6b8df2962f4bcc769fd2606e4f6c36fb06 (patch) | |
| tree | 4ad876aa8eec3475f0eeb6dc88b45cc2c85b6187 /lib/Transforms/Utils/LoopSimplify.cpp | |
| parent | 929b0fb893f2c794a450975d802c0b39752effc0 (diff) | |
| download | llvm-2edc3a6b8df2962f4bcc769fd2606e4f6c36fb06.tar.gz llvm-2edc3a6b8df2962f4bcc769fd2606e4f6c36fb06.tar.bz2 llvm-2edc3a6b8df2962f4bcc769fd2606e4f6c36fb06.tar.xz | |
Pass the computed magic to createBinary and createObjectFile if available.
identify_magic is not free, so we should avoid calling it twice. The argument
also makes it cheap for createBinary to just forward to createObjectFile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions
