summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-08-16 21:54:02 +0000
committerCraig Topper <craig.topper@intel.com>2018-08-16 21:54:02 +0000
commitbde2b43cb3386534dc2f66d6de29567cf1347b9d (patch)
tree7bbf30342d07c0e0ddb8b12b35d6744ab3a8a7e6 /clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h
parenta6c34887f70d43d733157650d4c16a426574e868 (diff)
downloadbcm5719-llvm-bde2b43cb3386534dc2f66d6de29567cf1347b9d.tar.gz
bcm5719-llvm-bde2b43cb3386534dc2f66d6de29567cf1347b9d.zip
[X86] In EFLAGS copy pass, don't emit EXTRACT_SUBREG instructions since we're after peephole
Normally the peephole pass converts EXTRACT_SUBREG to COPY instructions. But we're after peephole so we can't rely on it to clean these up. To fix this, the eflags pass now emits a COPY with a subreg input. I also noticed that in 32-bit mode we need to constrain the input to the copy to ensure the subreg is valid. Otherwise we'll fail verify-machineinstrs Differential Revision: https://reviews.llvm.org/D50656 llvm-svn: 339945
Diffstat (limited to 'clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud