diff options
author | Adam Nemet <anemet@apple.com> | 2016-06-28 04:02:47 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-06-28 04:02:47 +0000 |
commit | bd861acf29bb49c6530870de2e05d4828eb1a9a2 (patch) | |
tree | da234c6a603e8458e9b5b967031a955a9075fdfc /llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp | |
parent | 55415f2565b9fd1c1033a9f0ad5551b39b3a9045 (diff) | |
download | llvm-bd861acf29bb49c6530870de2e05d4828eb1a9a2.zip llvm-bd861acf29bb49c6530870de2e05d4828eb1a9a2.tar.gz llvm-bd861acf29bb49c6530870de2e05d4828eb1a9a2.tar.bz2 |
[LLE] Don't hoist conditionally executed loads
If the load is conditional we can't hoist its 0-iteration instance to
the preheader because that would make it unconditional. Thus we would
access a memory location that the original loop did not access.
llvm-svn: 273991
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp')
0 files changed, 0 insertions, 0 deletions