summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/switch-case-folding-2.cpp
Commit message (Collapse)AuthorAge
* A number of test cases assume that an "int" parameter or return valueUlrich Weigand2012-10-24
| | | | | | | | | | | | | will be represented in the IR as a plain "i32" type. This causes the tests to spuriously fail on platforms where int is not a 32-bit type, or where the ABI requires attributes like "signext" or "zeroext" to be used. This patch adds -triple or -target parameters to force those tests to use the i386-unknown-unknown target. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166551 91177308-0d34-0410-b5e6-96231b3b80d8
* output body of folded case again.Fariborz Jahanian2012-01-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148361 91177308-0d34-0410-b5e6-96231b3b80d8
* Folding away unreachable case statement.Fariborz Jahanian2012-01-17
patch (slightly revised) by Aaron Ballman. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148359 91177308-0d34-0410-b5e6-96231b3b80d8