diff options
author | Matthias Braun <matze@braunis.de> | 2018-10-22 22:52:23 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2018-10-22 22:52:23 +0000 |
commit | a0beeffeed3d24cf65ec165141926f7715380eb2 (patch) | |
tree | 1e3ed39a0ac18d14c15cbef9e3a18b877f03a57d /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 767625400d2dafce663dfad420d4ad8d03426584 (diff) | |
download | bcm5719-llvm-a0beeffeed3d24cf65ec165141926f7715380eb2.tar.gz bcm5719-llvm-a0beeffeed3d24cf65ec165141926f7715380eb2.zip |
X86: Do not optimize branches with undef eflags inputs
analyzeBranch()/insertBranch() etc. do not properly deal with an undef
flag on the eflags input and used to produce invalid MIR. I don't see
this ever affecting real world inputs (I don't think it is possible to
produce undef flags with llvm IR), so I simply changed the code to bail
out in this case.
rdar://42122367
llvm-svn: 344970
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions