aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WindowsResource.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-07-01 03:29:33 +0000
committerDavide Italiano <davide@freebsd.org>2017-07-01 03:29:33 +0000
commit9282f1aecef7b2190c2430e190342558958f4f8f (patch)
tree1a3499702e7123700b36eb44be13d0b25407692e /llvm/lib/Object/WindowsResource.cpp
parent32d95742b845ed2e25965bd61a52bd14806c522b (diff)
downloadllvm-9282f1aecef7b2190c2430e190342558958f4f8f.zip
llvm-9282f1aecef7b2190c2430e190342558958f4f8f.tar.gz
llvm-9282f1aecef7b2190c2430e190342558958f4f8f.tar.bz2
[Cloner] Re-map simplfied cloned instructions.
This commit pretty much rolls back the logic added in r306495 as in the testcase provided we simplify an `icmp` looking through a PHI that hasn't been mapped yet. I think instsimplify shouldn't do threading over select/phis or just looking through phis in general, but this is what we have now. Also, add a test to prevent this from happening in case somebody wants to modify this code again. Briefly discussed with Kyle Butt (thanks Kyle!). llvm-svn: 306938
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions