commit | c99428f3c9235e94464a02c3a0db8a609bf33188 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue May 14 05:23:45 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue May 14 05:23:45 2002 +0000 |
tree | 9bf985a6e794fc86a9f63619ba33e567c82c40de | |
parent | 18fb2a6682d25e07f017b77a13e4fbff0899ac33 [diff] |
Fix a major source of "type unsafety", where a cast is neccesary, but can be put either before or after a load. We chose to cast the value loaded instead of the pointer to load from. Fixes bug: test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2621 91177308-0d34-0410-b5e6-96231b3b80d8