diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-02-16 12:02:41 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-02-16 13:50:33 +0000 |
commit | dd879f7dc9f5df614431358e11f21c948429eda6 (patch) | |
tree | 8358ebf2ed728cce84c2d7eab1b44cfbbaa23ca2 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | ba1e150d03cac7629111a90eea1f2d727e465983 (diff) | |
download | llvm-dd879f7dc9f5df614431358e11f21c948429eda6.zip llvm-dd879f7dc9f5df614431358e11f21c948429eda6.tar.gz llvm-dd879f7dc9f5df614431358e11f21c948429eda6.tar.bz2 |
[DAG] Use APInt::extractBits instead of lshr().trunc(). NFCI.
Avoids so many APInt instances by directly using the APInt reference from getAPIntValue.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions