summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-09-28 12:32:34 -0700
committerCraig Topper <craig.topper@intel.com>2020-09-28 13:33:22 -0700
commit288c5776c9d3cb14abe1c86f961c8ff166772d28 (patch)
treea4073f0cd308a82895200a12dd511d9a98170b6b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2f768a68a148a73bf1f52b160a28b9f77c6d830e (diff)
[X86] Use inlineasm flag output for the _bittest* intrinsics.
Instead of expliciting emitting a setc in the inline asm instructions, we can use flag output. This allows the backend to use the flag directly if it is needed by a branch. Previously we needed a test instruction to convert the register back to a flag. If the flag can't be used directly, the backend will emit a setcc. Differential Revision: https://reviews.llvm.org/D87888
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions