summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Debug.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2014-09-03 17:40:30 +0000
committerSanjay Patel <spatel@rotateright.com>2014-09-03 17:40:30 +0000
commit9433a28845dd2fa6953dfd44172c3986f6d9c664 (patch)
treed94b186e1c5991a343285eaa9148fff045a9d987 /llvm/lib/Support/Debug.cpp
parentefde5a77406a96197249bdaa2d088f687dd26b69 (diff)
downloadbcm5719-llvm-9433a28845dd2fa6953dfd44172c3986f6d9c664.tar.gz
bcm5719-llvm-9433a28845dd2fa6953dfd44172c3986f6d9c664.zip
Preserve IR flags (nsw, nuw, exact, fast-math) in SLP vectorizer (PR20802).
The SLP vectorizer should propagate IR-level optimization hints/flags (nsw, nuw, exact, fast-math) when converting scalar instructions into vectors. But this isn't a simple copy - we need to take the intersection (the logical 'and') of the sets of flags on the scalars. The solution is further complicated because we can have non-uniform (non-SIMD) vector ops after: http://reviews.llvm.org/D4015 http://llvm.org/viewvc/llvm-project?view=revision&revision=211339 The vast majority of changed files are existing tests that were not propagating IR flags, but I've also added a new test file for focused testing of IR flag possibilities. Differential Revision: http://reviews.llvm.org/D5172 llvm-svn: 217051
Diffstat (limited to 'llvm/lib/Support/Debug.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud