commit | b54a0ac20ac76f845026eab8fca112d1d40927de | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sun Jan 05 03:22:33 2014 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sun Jan 05 03:22:33 2014 +0000 |
tree | b514003a548093e3017c1af741c0111b91c46765 | |
parent | 62107b62682ecdb4f03c1d773523754e9ac8188c [diff] |
Fix a bug in IRBuilder that's been there for who knows how long. It failed to correctly propagate the NUW and NSW flags to the constant folder for two instructions. I've added a unittest to cover flag propagation for the rest of the instructions and constant expressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198538 91177308-0d34-0410-b5e6-96231b3b80d8