diff options
| author | Tobias Grosser <tobias@grosser.es> | 2016-07-20 11:24:27 +0000 | 
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2016-07-20 11:24:27 +0000 | 
| commit | 8c6201b49fe7be5cde0c2865a169afccead77088 (patch) | |
| tree | a7375482b6849ed1b764fbf80180f19c612bebc6 /llvm/lib/Support/SourceMgr.cpp | |
| parent | 1b4f511aaa0062f47fffcd7acf983cdab48b98c3 (diff) | |
| download | llvm-8c6201b49fe7be5cde0c2865a169afccead77088.zip llvm-8c6201b49fe7be5cde0c2865a169afccead77088.tar.gz llvm-8c6201b49fe7be5cde0c2865a169afccead77088.tar.bz2  | |
[InstCombine] Provide more test cases for cast-folding [NFC]
Summary: In r275989 we enabled the folding of `logic(cast(icmp), cast(icmp))` to `cast(logic(icmp, icmp))`. Here we add more test cases to assure this folding works for all logical operations `and`/`or`/`xor`.
Reviewers: grosser
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D22561
Contributed-by: Matthias Reisinger
llvm-svn: 276105
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions
