diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-08-01 12:31:35 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-08-01 12:31:35 +0000 |
| commit | 0efeaa81626f4c972a1f792f2b2daea1ad2eb4f5 (patch) | |
| tree | 23268ee350c8c7c735d86e429c55c8ccccc5ed10 /llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | |
| parent | b301860321208253065e5dc74200cfc68f9cf87a (diff) | |
| download | bcm5719-llvm-0efeaa81626f4c972a1f792f2b2daea1ad2eb4f5.tar.gz bcm5719-llvm-0efeaa81626f4c972a1f792f2b2daea1ad2eb4f5.zip | |
[IR] SelectInst: add swapValues() utility
Summary:
Sometimes we need to swap true-val and false-val of a `SelectInst`.
Having a function for that is nicer than hand-writing it each time.
Reviewers: spatel, RKSimon, craig.topper, jdoerfert
Reviewed By: jdoerfert
Subscribers: jdoerfert, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65520
llvm-svn: 367547
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp')
0 files changed, 0 insertions, 0 deletions

