diff --git a/test/select.ll b/test/select.ll index 69f794f84a5..d937387a58c 100644 --- a/test/select.ll +++ b/test/select.ll @@ -15,17 +15,24 @@ begin end ; A constant argument to a Phi produces a Cast instruction in the -; corresponding predecessor basic block. This has little to do with -; selection but the code is a bit weird. +; corresponding predecessor basic block. This checks a few things: +; -- phi arguments coming from the bottom of the same basic block +; (they should not be forward substituted in the machine code!) +; -- code generation for casts of various types +; -- use of immediate fields for integral constants of different sizes +; -- branch on a constant condition ; void "mergeConstants"(int * %x, int * %y) begin -;