diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-08-17 07:38:52 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-08-17 07:38:52 +0000 |
commit | 54989e78e4e4b7d875e183688457a6b6d7530b80 (patch) | |
tree | 4fc3d500d18d44a5190addbdaf4331f3c7722171 /llvm/lib/Support/Path.cpp | |
parent | 7cea4193d93d2eea199ddbb945a4495e7f7ea5e1 (diff) | |
download | bcm5719-llvm-54989e78e4e4b7d875e183688457a6b6d7530b80.tar.gz bcm5719-llvm-54989e78e4e4b7d875e183688457a6b6d7530b80.zip |
Merging r339945:
------------------------------------------------------------------------
r339945 | ctopper | 2018-08-16 23:54:02 +0200 (Thu, 16 Aug 2018) | 9 lines
[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: 339999
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions