commit | ffe1cf5e9283cbef9eab624ebab7b615cebb9ec0 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Fri Feb 22 20:20:24 2019 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Fri Feb 22 20:20:24 2019 +0000 |
tree | 7b01b38cd83f9d30ed21c91c0e623c3705aa704d | |
parent | 7b55066a3485103a1ad4a7b316c1bd383156c223 [diff] |
[CGP] move overflow intrinsic insertion to common location; NFCI We need to enhance the uaddo matching to handle special-cases as seen in PR40486 and PR31754. That means we won't necessarily have a def-use pattern, so we'll need to check dominance to determine where to place the intrinsic (as we already do for usubo). This preliminary patch is just rearranging the code, so the planned follow-up to improve uaddo will be more clear. llvm-svn: 354689